ArtifactRepositorypublic interface FlatDirectoryArtifactRepository extends ArtifactRepository
:junit:4.8.1 instead of junit:junit:4.8.1.
To resolve a dependency, this resolver looks for one of the following files. It will return the first match it finds:
:junit:junit:4.8.1, this repository will look for junit-4.8.1.jar and then junit.jar.| Modifier and Type | Method | Description |
|---|---|---|
void |
dir(Object dir) |
Adds a directory where this repository will look for artifacts.
|
void |
dirs(Object... dirs) |
Adds some directories where this repository will look for artifacts.
|
Set<File> |
getDirs() |
Returns the directories where this repository will look for artifacts.
|
void |
setDirs(Iterable<?> dirs) |
Sets the directories where this repository will look for artifacts.
|
void |
setDirs(Set<File> dirs) |
Sets the directories where this repository will look for artifacts.
|
content, getName, setNameSet<File> getDirs()
void dir(Object dir)
The provided value are evaluated as per Project.file(Object).
dir - the directoryvoid dirs(Object... dirs)
The provided values are evaluated as per Project.files(Object...).
dirs - the directories.void setDirs(Set<File> dirs)
dirs - the directories.void setDirs(Iterable<?> dirs)
The provided values are evaluated as per Project.files(Object...).
dirs - the directories.