Rintcius wrote:
>
> Is there a way to specify my own classpath entries, so that I can get
> around the gradle cache?
> Something like maven's "system" dependency scope.
>
Try a flat directory resolver. From the Gradle documentation:
14.5.3 Flat Directory Resolver
If you want to use a (flat) filesytem directory as a repository, simply
type:
dependencies {
addFlatDirResolver('lib', "$rootDir/lib1", new File(rootDir, 'lib2'))
dependencies(':junit:4.4', ':commons-io:1.3.1:jar')
}
In the example we assign multiple directories to a flat directory resolver.
The first argument is the name of the resolver. The group attributes in the
dependency declaration is empty (but there has to be a colon at the
beginning). Specifying the extension (e.g. jar) is optional and defaults to
jar. [...]
Cheers,
Peter
--
View this message in context:
http://www.nabble.com/Possible-to-specify-my-own-classpath-entries--tp21748740p21758843.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email