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
.修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
getName, setName
Set<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(Iterable<?> dirs)
The provided values are evaluated as per Project.files(Object...)
.
dirs
- the directories.