hi gradle-community,
is there a conventient way to resolve dependencies from
$GRADLE_HOME/lib for a gradle-plugin-build ?
in rene groeschke's growlPlugin i found:
dependencies {
...
compile files(org.gradle.util.BootstrapUtil.gradleClasspath)
}
looks good at first glance, but i guess this is 'using an undocumented
feature'
and it's kind of
http://dict.leo.org/ende?lp=ende&p=5tY9AA&search=watering-can giesskannen
-resolving
in Meikel Brandmeyer closuresque-plugin i saw this:
class ClojurePluginConvention {
...
public void gradleHomeRepo(RepositoryHandler repos) {
String home = System.getenv('GRADLE_HOME')
if (home != null) {
repos.flatDir name: 'gradleHome', dirs: new File(home + '/lib')
repos.flatDir name: 'gradleHomePlugins', dirs: new File(home +
'/lib/plugins')
}
}
...
}
suggestions for even better solutions are welcome ... ;-)
thanks & have a successful day
--
View this message in context:
http://old.nabble.com/a-conventient-way-to-resolve-from-%24GRADLE_HOME-lib---tp27872778p27872778.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