| Type | Name and description |
|---|---|
org.gradle.api.artifacts.repositories.FlatDirectoryArtifactRepository |
flatDir(java.util.Map<java.lang.String, ?> args)Adds a resolver that looks into a number of directories for artifacts. |
org.gradle.api.artifacts.repositories.FlatDirectoryArtifactRepository |
flatDir(groovy.lang.Closure<?> configureClosure)Adds an configures a repository which will look for dependencies in a number of local directories. |
org.gradle.api.artifacts.repositories.FlatDirectoryArtifactRepository |
flatDir(org.gradle.api.Action<? super org.gradle.api.artifacts.repositories.FlatDirectoryArtifactRepository> action)Adds an configures a repository which will look for dependencies in a number of local directories. |
RsyncArtifactRepository |
rsync(groovy.lang.Closure<?> configureClosure)Adds and configures a repository which connects via rsync (ssh) to a remote server |
RsyncArtifactRepository |
rsync(java.util.Map<java.lang.String, ?> args) |
RsyncArtifactRepository |
rsync(org.gradle.api.Action<? super RsyncArtifactRepository> action) |
S3ArtifactRepository |
s3(groovy.lang.Closure<?> configureClosure) |
S3ArtifactRepository |
s3(java.util.Map<java.lang.String, ?> args) |
S3ArtifactRepository |
s3(org.gradle.api.Action<? super S3ArtifactRepository> action) |
BPMXArtifactRepository |
tekgenesis(groovy.lang.Closure<?> configureClosure)Add and configures a repository which looks in Tekgenesis Artifact Directory. |
BPMXArtifactRepository |
tekgenesis(java.util.Map<java.lang.String, ?> args) |
BPMXArtifactRepository |
tekgenesis(org.gradle.api.Action<? super BPMXArtifactRepository> action) |
| Methods inherited from class | Name |
|---|---|
interface org.gradle.api.NamedDomainObjectList |
org.gradle.api.NamedDomainObjectList#findAll(groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#withType(java.lang.Class), org.gradle.api.NamedDomainObjectList#matching(org.gradle.api.specs.Spec), org.gradle.api.NamedDomainObjectList#matching(groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#add(java.lang.Object), org.gradle.api.NamedDomainObjectList#addAll(java.util.Collection), org.gradle.api.NamedDomainObjectList#withType(java.lang.Class), org.gradle.api.NamedDomainObjectList#getAt(java.lang.String), org.gradle.api.NamedDomainObjectList#matching(org.gradle.api.specs.Spec), org.gradle.api.NamedDomainObjectList#matching(groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#getByName(java.lang.String, groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#getByName(java.lang.String), org.gradle.api.NamedDomainObjectList#getNames(), org.gradle.api.NamedDomainObjectList#findByName(java.lang.String), org.gradle.api.NamedDomainObjectList#getRules(), org.gradle.api.NamedDomainObjectList#getAsMap(), org.gradle.api.NamedDomainObjectList#getNamer(), org.gradle.api.NamedDomainObjectList#addRule(java.lang.String, groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#addRule(org.gradle.api.Rule), org.gradle.api.NamedDomainObjectList#all(org.gradle.api.Action), org.gradle.api.NamedDomainObjectList#all(groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#findAll(groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#withType(java.lang.Class), org.gradle.api.NamedDomainObjectList#withType(java.lang.Class, groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#withType(java.lang.Class, org.gradle.api.Action), org.gradle.api.NamedDomainObjectList#matching(org.gradle.api.specs.Spec), org.gradle.api.NamedDomainObjectList#matching(groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#whenObjectRemoved(groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#whenObjectRemoved(org.gradle.api.Action), org.gradle.api.NamedDomainObjectList#whenObjectAdded(org.gradle.api.Action), org.gradle.api.NamedDomainObjectList#whenObjectAdded(groovy.lang.Closure), org.gradle.api.NamedDomainObjectList#remove(java.lang.Object), org.gradle.api.NamedDomainObjectList#equals(java.lang.Object), org.gradle.api.NamedDomainObjectList#hashCode(), org.gradle.api.NamedDomainObjectList#clear(), org.gradle.api.NamedDomainObjectList#isEmpty(), org.gradle.api.NamedDomainObjectList#contains(java.lang.Object), org.gradle.api.NamedDomainObjectList#size(), org.gradle.api.NamedDomainObjectList#toArray([Ljava.lang.Object;), org.gradle.api.NamedDomainObjectList#toArray(), org.gradle.api.NamedDomainObjectList#iterator(), org.gradle.api.NamedDomainObjectList#stream(), org.gradle.api.NamedDomainObjectList#containsAll(java.util.Collection), org.gradle.api.NamedDomainObjectList#removeAll(java.util.Collection), org.gradle.api.NamedDomainObjectList#retainAll(java.util.Collection), org.gradle.api.NamedDomainObjectList#removeIf(java.util.function.Predicate), org.gradle.api.NamedDomainObjectList#parallelStream(), org.gradle.api.NamedDomainObjectList#forEach(java.util.function.Consumer), org.gradle.api.NamedDomainObjectList#add(java.lang.Object), org.gradle.api.NamedDomainObjectList#add(int, java.lang.Object), org.gradle.api.NamedDomainObjectList#remove(java.lang.Object), org.gradle.api.NamedDomainObjectList#remove(int), org.gradle.api.NamedDomainObjectList#get(int), org.gradle.api.NamedDomainObjectList#equals(java.lang.Object), org.gradle.api.NamedDomainObjectList#hashCode(), org.gradle.api.NamedDomainObjectList#indexOf(java.lang.Object), org.gradle.api.NamedDomainObjectList#clear(), org.gradle.api.NamedDomainObjectList#isEmpty(), org.gradle.api.NamedDomainObjectList#lastIndexOf(java.lang.Object), org.gradle.api.NamedDomainObjectList#contains(java.lang.Object), org.gradle.api.NamedDomainObjectList#replaceAll(java.util.function.UnaryOperator), org.gradle.api.NamedDomainObjectList#size(), org.gradle.api.NamedDomainObjectList#subList(int, int), org.gradle.api.NamedDomainObjectList#toArray(), org.gradle.api.NamedDomainObjectList#toArray([Ljava.lang.Object;), org.gradle.api.NamedDomainObjectList#iterator(), org.gradle.api.NamedDomainObjectList#spliterator(), org.gradle.api.NamedDomainObjectList#addAll(java.util.Collection), org.gradle.api.NamedDomainObjectList#addAll(int, java.util.Collection), org.gradle.api.NamedDomainObjectList#set(int, java.lang.Object), org.gradle.api.NamedDomainObjectList#containsAll(java.util.Collection), org.gradle.api.NamedDomainObjectList#removeAll(java.util.Collection), org.gradle.api.NamedDomainObjectList#retainAll(java.util.Collection), org.gradle.api.NamedDomainObjectList#listIterator(int), org.gradle.api.NamedDomainObjectList#listIterator(), org.gradle.api.NamedDomainObjectList#sort(java.util.Comparator) |
interface org.gradle.util.Configurable |
org.gradle.util.Configurable#configure(groovy.lang.Closure) |
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 ":junit:4.4" instead of "junit:junit:4.4".
The following parameter are accepted as keys for the map:
| Key | Description of Associated Value |
|---|---|
name |
(optional) 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. |
dirs |
Specifies a list of rootDirs where to look for dependencies. These are evaluated as per org.gradle.api.Project#files(Object...) |
repositories {
flatDir name: 'libs', dirs: "$projectDir/libs"
flatDir dirs: ["$projectDir/libs1", "$projectDir/libs2"]
}
args - The arguments used to configure the repository.Adds an configures a repository which will look for dependencies in a number of local directories.
configureClosure - The closure to execute to configure the repository.Adds an configures a repository which will look for dependencies in a number of local directories.
action - The action to execute to configure the repository.Adds and configures a repository which connects via rsync (ssh) to a remote server Examples:
tekgenesis {
repositories {
rsync path: 'git@git.tekgenesis.com/home/git/dists'
}
}
configureClosure - The closure to execute to configure the repository.Add and configures a repository which looks in Tekgenesis Artifact Directory. Examples:
tekgenesis {
repositories {
tekgenesis key: 'appkey'
}
}
configureClosure - The closure to execute to configure the repository.