Skip to content

Instantly share code, notes, and snippets.

@bstopp
Created February 5, 2014 22:21
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 bstopp/6116d46b2eb488a4e77e to your computer and use it in GitHub Desktop.
Save bstopp/6116d46b2eb488a4e77e to your computer and use it in GitHub Desktop.
Demo Gradle File
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.7
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
}
}
dependencies {
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
testCompile group: 'junit', name: 'junit', version: '4.+'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment