|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FlatDirectoryArtifactRepository
A repository that looks into a number of directories for artifacts. The artifacts are expected to be located in the root of the specified directories.
The repository ignores any group/organization information specified in the dependency section of your build script. If you only use this kind of
resolver you can specify your dependencies like :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.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.gradle.api.artifacts.repositories.ArtifactRepository |
|---|
getName, setName |
| Method Detail |
|---|
Set<File> getDirs()
void dir(Object dir)
The provided value are evaluated as for Project.file(Object).
dir - the directoryvoid dirs(Object... dirs)
The provided values are evaluated as for Project.files(Object...).
dirs - the directories.void setDirs(Iterable<?> dirs)
The provided values are evaluated as for Project.files(Object...).
dirs - the directories.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||