Skip to content

Instantly share code, notes, and snippets.

@rhmoller
Created October 20, 2014 21:32
Show Gist options
  • Save rhmoller/7985bfdc2eac42598ee2 to your computer and use it in GitHub Desktop.
Save rhmoller/7985bfdc2eac42598ee2 to your computer and use it in GitHub Desktop.
Gradle example of fetching dependencies from GWT_TOOLS
repositories {
ivy {
url "https://google-web-toolkit.googlecode.com/svn/tools/lib"
layout "pattern", {
artifact "[artifact]-[revision].[ext]"
}
}
}
configurations {
compile
}
dependencies {
compile ":apache/tapestry-util-text:4.0.2"
compile ":apache/ant:1.6.5"
compile ":eclipse/jdt:3.10.0"
compile ":eclipse/jdtCompilerAdapter:3.10.0"
compile ":objectweb/asm-5.0.3/lib/asm-all:5.0.3"
compile ":guava/guava-16.0.1/guava:16.0.1-rebased"
}
task(compile) << {
configurations.compile.each { File f -> println f.canonicalPath }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment