@groovy.transform.Immutable @groovy.transform.CompileStatic class ProjectSource extends java.lang.Object
Retrieves the shared lib sources of the current project which are expected to be
at the default location ("./vars"), "./src", "./resources").
When working with this retriever the LibraryConfiguration which is provided
with this SourceRetrievers should be configured with allowOverride=false
since the ProjectSource retriever does not support loading of alternate versions. As
already outlined above this source retriever always loads the version as it is
contained at the default location.
| Type | Name and description |
|---|---|
java.lang.String |
sourceURL |
| Type | Name and description |
|---|---|
static ProjectSource |
projectSource(java.lang.String sourceDir = '.') |
java.util.List<java.net.URL> |
retrieve(java.lang.String repository, java.lang.String branch, java.lang.String targetPath) |
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |