Java 类org.gradle.api.artifacts.repositories.FlatDirectoryArtifactRepository 实例源码

项目:Reer    文件:DefaultRepositoryHandler.java   
public FlatDirectoryArtifactRepository flatDir(Map<String, ?> args) {
    Map<String, Object> modifiedArgs = new HashMap<String, Object>(args);
    if (modifiedArgs.containsKey("dirs")) {
        modifiedArgs.put("dirs", flattenCollections(modifiedArgs.get("dirs")));
    }
    return flatDir(new ConfigureByMapAction<FlatDirectoryArtifactRepository>(modifiedArgs));
}
项目:Pushjet-Android    文件:DefaultRepositoryHandler.java   
public FlatDirectoryArtifactRepository flatDir(Map<String, ?> args) {
    Map<String, Object> modifiedArgs = new HashMap<String, Object>(args);
    if (modifiedArgs.containsKey("dirs")) {
        modifiedArgs.put("dirs", flattenCollections(modifiedArgs.get("dirs")));
    }
    return flatDir(new ConfigureByMapAction<FlatDirectoryArtifactRepository>(modifiedArgs));
}
项目:Pushjet-Android    文件:DefaultRepositoryHandler.java   
public FlatDirectoryArtifactRepository flatDir(Map<String, ?> args) {
    Map<String, Object> modifiedArgs = new HashMap<String, Object>(args);
    if (modifiedArgs.containsKey("dirs")) {
        modifiedArgs.put("dirs", flattenCollections(modifiedArgs.get("dirs")));
    }
    return flatDir(new ConfigureByMapAction<FlatDirectoryArtifactRepository>(modifiedArgs));
}
项目:Reer    文件:DefaultBaseRepositoryFactory.java   
public FlatDirectoryArtifactRepository createFlatDirRepository() {
    return instantiator.newInstance(DefaultFlatDirArtifactRepository.class, fileResolver, transportFactory,
            locallyAvailableResourceFinder, artifactFileStore, ivyContextManager);
}
项目:Reer    文件:DefaultRepositoryHandler.java   
public FlatDirectoryArtifactRepository flatDir(Action<? super FlatDirectoryArtifactRepository> action) {
    return addRepository(repositoryFactory.createFlatDirRepository(), FLAT_DIR_DEFAULT_NAME, action);
}
项目:Reer    文件:DefaultRepositoryHandler.java   
public FlatDirectoryArtifactRepository flatDir(Closure configureClosure) {
    return flatDir(ConfigureUtil.configureUsing(configureClosure));
}
项目:Pushjet-Android    文件:DefaultBaseRepositoryFactory.java   
public FlatDirectoryArtifactRepository createFlatDirRepository() {
    return instantiator.newInstance(DefaultFlatDirArtifactRepository.class, fileResolver, transportFactory,
            locallyAvailableResourceFinder, resolverStrategy, artifactFileStore);
}
项目:Pushjet-Android    文件:DefaultRepositoryHandler.java   
public FlatDirectoryArtifactRepository flatDir(Action<? super FlatDirectoryArtifactRepository> action) {
    return addRepository(repositoryFactory.createFlatDirRepository(), FLAT_DIR_DEFAULT_NAME, action);
}
项目:Pushjet-Android    文件:DefaultRepositoryHandler.java   
public FlatDirectoryArtifactRepository flatDir(Closure configureClosure) {
    return flatDir(new ClosureBackedAction<FlatDirectoryArtifactRepository>(configureClosure));
}
项目:Pushjet-Android    文件:DefaultRepositoryHandler.java   
public FlatDirectoryArtifactRepository flatDir(Action<? super FlatDirectoryArtifactRepository> action) {
    return addRepository(repositoryFactory.createFlatDirRepository(), FLAT_DIR_DEFAULT_NAME, action);
}
项目:Pushjet-Android    文件:DefaultRepositoryHandler.java   
public FlatDirectoryArtifactRepository flatDir(Closure configureClosure) {
    return flatDir(new ClosureBackedAction<FlatDirectoryArtifactRepository>(configureClosure));
}
项目:Reer    文件:RepositoryHandler.java   
/**
 * Adds a resolver that looks into a number of directories for artifacts. The artifacts are expected to be located in the
 * root of the specified directories. The resolver ignores any group/organization information specified in the
 * dependency section of your build script. If you only use this kind of resolver you might specify your
 * dependencies like <code>":junit:4.4"</code> instead of <code>"junit:junit:4.4"</code>.
 *
 * The following parameter are accepted as keys for the map:
 *
 * <table summary="Shows property keys and associated values">
 * <tr><th>Key</th>
 *     <th>Description of Associated Value</th></tr>
 * <tr><td><code>name</code></td>
 *     <td><em>(optional)</em> The name of the repository.
 * The default is a Hash value of the rootdir paths. The name is used in the console output,
 * to point to information related to a particular repository. A name must be unique amongst a repository group.</td></tr>
 * <tr><td><code>dirs</code></td>
 *     <td>Specifies a list of rootDirs where to look for dependencies. These are evaluated as per {@link org.gradle.api.Project#files(Object...)}</td></tr>
 * </table>
 *
 * <p>Examples:
 * <pre autoTested=''>
 * repositories {
 *     flatDir name: 'libs', dirs: "$projectDir/libs"
 *     flatDir dirs: ["$projectDir/libs1", "$projectDir/libs2"]
 * }
 * </pre>
 * </p>
 *
 * @param args The arguments used to configure the repository.
 * @return the added resolver
 * @throws org.gradle.api.InvalidUserDataException In the case neither rootDir nor rootDirs is specified of if both
 * are specified.
 */
FlatDirectoryArtifactRepository flatDir(Map<String, ?> args);
项目:Reer    文件:RepositoryHandler.java   
/**
 * Adds an configures a repository which will look for dependencies in a number of local directories.
 *
 * @param configureClosure The closure to execute to configure the repository.
 * @return The repository.
 */
FlatDirectoryArtifactRepository flatDir(Closure configureClosure);
项目:Reer    文件:RepositoryHandler.java   
/**
 * Adds an configures a repository which will look for dependencies in a number of local directories.
 *
 * @param action The action to execute to configure the repository.
 * @return The repository.
 */
FlatDirectoryArtifactRepository flatDir(Action<? super FlatDirectoryArtifactRepository> action);
项目:Pushjet-Android    文件:RepositoryHandler.java   
/**
 * Adds a resolver that looks into a number of directories for artifacts. The artifacts are expected to be located in the
 * root of the specified directories. The resolver ignores any group/organization information specified in the
 * dependency section of your build script. If you only use this kind of resolver you might specify your
 * dependencies like <code>":junit:4.4"</code> instead of <code>"junit:junit:4.4"</code>.
 *
 * The following parameter are accepted as keys for the map:
 *
 * <table summary="Shows property keys and associated values">
 * <tr><th>Key</th>
 *     <th>Description of Associated Value</th></tr>
 * <tr><td><code>name</code></td>
 *     <td><em>(optional)</em> The name of the repository.
 * The default is a Hash value of the rootdir paths. The name is used in the console output,
 * to point to information related to a particular repository. A name must be unique amongst a repository group.</td></tr>
 * <tr><td><code>dirs</code></td>
 *     <td>Specifies a list of rootDirs where to look for dependencies. These are evaluated as per {@link org.gradle.api.Project#files(Object...)}</td></tr>
 * </table>
 *
 * <p>Examples:
 * <pre autoTested=''>
 * repositories {
 *     flatDir name: 'libs', dirs: "$projectDir/libs"
 *     flatDir dirs: ["$projectDir/libs1", "$projectDir/libs2"]
 * }
 * </pre>
 * </p>
 *
 * @param args The arguments used to configure the repository.
 * @return the added resolver
 * @throws org.gradle.api.InvalidUserDataException In the case neither rootDir nor rootDirs is specified of if both
 * are specified.
 */
FlatDirectoryArtifactRepository flatDir(Map<String, ?> args);
项目:Pushjet-Android    文件:RepositoryHandler.java   
/**
 * Adds an configures a repository which will look for dependencies in a number of local directories.
 *
 * @param configureClosure The closure to execute to configure the repository.
 * @return The repository.
 */
FlatDirectoryArtifactRepository flatDir(Closure configureClosure);
项目:Pushjet-Android    文件:RepositoryHandler.java   
/**
 * Adds an configures a repository which will look for dependencies in a number of local directories.
 *
 * @param action The action to execute to configure the repository.
 * @return The repository.
 */
FlatDirectoryArtifactRepository flatDir(Action<? super FlatDirectoryArtifactRepository> action);
项目:Pushjet-Android    文件:RepositoryHandler.java   
/**
 * Adds a resolver that looks into a number of directories for artifacts. The artifacts are expected to be located in the
 * root of the specified directories. The resolver ignores any group/organization information specified in the
 * dependency section of your build script. If you only use this kind of resolver you might specify your
 * dependencies like <code>":junit:4.4"</code> instead of <code>"junit:junit:4.4"</code>.
 *
 * The following parameter are accepted as keys for the map:
 *
 * <table summary="Shows property keys and associated values">
 * <tr><th>Key</th>
 *     <th>Description of Associated Value</th></tr>
 * <tr><td><code>name</code></td>
 *     <td><em>(optional)</em> The name of the repository.
 * The default is a Hash value of the rootdir paths. The name is used in the console output,
 * to point to information related to a particular repository. A name must be unique amongst a repository group.</td></tr>
 * <tr><td><code>dirs</code></td>
 *     <td>Specifies a list of rootDirs where to look for dependencies. These are evaluated as per {@link org.gradle.api.Project#files(Object...)}</td></tr>
 * </table>
 *
 * <p>Examples:
 * <pre autoTested=''>
 * repositories {
 *     flatDir name: 'libs', dirs: "$projectDir/libs"
 *     flatDir dirs: ["$projectDir/libs1", "$projectDir/libs2"]
 * }
 * </pre>
 * </p>
 *
 * @param args The arguments used to configure the repository.
 * @return the added resolver
 * @throws org.gradle.api.InvalidUserDataException In the case neither rootDir nor rootDirs is specified of if both
 * are specified.
 */
FlatDirectoryArtifactRepository flatDir(Map<String, ?> args);
项目:Pushjet-Android    文件:RepositoryHandler.java   
/**
 * Adds an configures a repository which will look for dependencies in a number of local directories.
 *
 * @param configureClosure The closure to execute to configure the repository.
 * @return The repository.
 */
FlatDirectoryArtifactRepository flatDir(Closure configureClosure);
项目:Pushjet-Android    文件:RepositoryHandler.java   
/**
 * Adds an configures a repository which will look for dependencies in a number of local directories.
 *
 * @param action The action to execute to configure the repository.
 * @return The repository.
 */
FlatDirectoryArtifactRepository flatDir(Action<? super FlatDirectoryArtifactRepository> action);
项目:Reer    文件:BaseRepositoryFactory.java   
FlatDirectoryArtifactRepository createFlatDirRepository();
项目:Pushjet-Android    文件:BaseRepositoryFactory.java   
FlatDirectoryArtifactRepository createFlatDirRepository();
项目:Pushjet-Android    文件:BaseRepositoryFactory.java   
FlatDirectoryArtifactRepository createFlatDirRepository();