public 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 and Description |
---|---|
void |
dir(java.lang.Object dir)
Adds a directory where this repository will look for artifacts.
|
void |
dirs(java.lang.Object... dirs)
Adds some directories where this repository will look for artifacts.
|
java.util.Set<java.io.File> |
getDirs()
Returns the directories where this repository will look for artifacts.
|
void |
setDirs(java.lang.Iterable<?> dirs)
Sets the directories where this repository will look for artifacts.
|
getName, setName
java.util.Set<java.io.File> getDirs()
void dir(java.lang.Object dir)
The provided value are evaluated as per Project.file(Object)
.
dir
- the directoryvoid dirs(java.lang.Object... dirs)
The provided values are evaluated as per Project.files(Object...)
.
dirs
- the directories.void setDirs(java.lang.Iterable<?> dirs)
The provided values are evaluated as per Project.files(Object...)
.
dirs
- the directories.