Skip to content

Instantly share code, notes, and snippets.

@xconnecting
Created December 27, 2013 05:06
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 xconnecting/8142783 to your computer and use it in GitHub Desktop.
Save xconnecting/8142783 to your computer and use it in GitHub Desktop.
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
repositories { mavenCentral() }
dependencies {
compile "org.codehaus.groovy:groovy-all:2.0.7"
testCompile 'org.spockframework:spock-core:0.7-groovy-2.0'
}
task mkdirs << {
sourceSets.all {
it.groovy.srcDirs.each { it.mkdirs() }
it.resources.srcDirs.each { it.mkdirs() }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment