Created
March 8, 2013 04:54
-
-
Save xconnecting/5114287 to your computer and use it in GitHub Desktop.
[Gradle]: Change sourceSets Directories
This file contains 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' | |
apply plugin: 'eclipse' | |
sourceSets { | |
main { | |
java { srcDir 'src' } | |
resources { srcDir 'src' } | |
} | |
} | |
task listSrcDir <<{ | |
sourceSets.main{ | |
it.java.srcDirs.each { println it} | |
it.resources.srcDirs.each {println it } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment