Skip to content

Instantly share code, notes, and snippets.

@terabyte
Last active December 16, 2015 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save terabyte/5408087 to your computer and use it in GitHub Desktop.
Save terabyte/5408087 to your computer and use it in GitHub Desktop.
gradle ivy config?
//apply plugin: 'java'
defaultTasks 'buildit'
repositories {
ivy {
url "http://ivy.example.com/modules"
layout "pattern", {
ivy "modules/[organisation]/[module]/[revision]/ivy-[revision].xml"
artifact "modules/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
artifact "modules/[organisation]/[module]/[revision]/[artifact].[ext]"
}
}
}
dependencies {
compile group: 'apache', name: 'log4j', version: '1.2.13'
compile group: 'apache', name: 'commons-io', version: '2.1'
compile group: 'apache', name: 'commons-lang', version: '2.6'
compile group: 'google', name: 'guava', version: '10.0.1'
}
task buildit {
doLast {
println 'Hello, World!'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment