Skip to content

Instantly share code, notes, and snippets.

@kdabir
Created February 29, 2016 13:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdabir/75dc7e571ba831759f92 to your computer and use it in GitHub Desktop.
Save kdabir/75dc7e571ba831759f92 to your computer and use it in GitHub Desktop.
simple groovy project starter
plugins {
id 'groovy'
}
repositories {
jcenter()
}
dependencies {
compile "org.codehaus.groovy:groovy-all:2.4.6"
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
}
sourceSets {
main.groovy.srcDirs = ['src']
main.resources.srcDirs = ['resources']
test.groovy.srcDirs = ['test']
test.resources.srcDirs = ['testResources']
}
test {
testLogging {
events "failed"
exceptionFormat "short"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment