Hey gradlers,
is it possible to have a flatDir repo which is a not exactly flat but structured ? Instead of
lib
|- mockito-core-1.9.0.jar
|- hamcrest-library-1.1.jar
|- hibernate.jar
something like
lib
|- mockito
|- mockito-core-1.9.0.jar
|- hamcrest-library-1.1.jar
|- hibernate.jar
? best Johannes
Rene
(René Groeschke)
2
Hello Johannes, you can use a ivy repository pointing to your local filesystem to achieve that. With ivy you can customize the lookup pattern:
repositories {
ivy {
artifactPattern “$projectDir/lib/[organisation]/[module]-revision.[ext]”
} }
for details about customizing the artifact pattern, have a look at the gradle userguide at http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:ivy_repositories
cheers, René