Last active
December 16, 2015 08:48
-
-
Save terabyte/5408087 to your computer and use it in GitHub Desktop.
gradle ivy config?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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