Skip to content

Instantly share code, notes, and snippets.

@xconnecting
Created October 18, 2012 04:07
Show Gist options
  • Save xconnecting/3909814 to your computer and use it in GitHub Desktop.
Save xconnecting/3909814 to your computer and use it in GitHub Desktop.
Gradle script for making directories for Groovy project
apply plugin: 'groovy'
apply plugin: 'eclipse'
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