Created
February 26, 2016 08:36
-
-
Save childnode/0ba89ddeedeb321e7977 to your computer and use it in GitHub Desktop.
gradle mock sourceSet
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
sourceSets { | |
mock { | |
java.srcDir 'src/mock/java' | |
output.classesDir sourceSets.main.output.classesDir | |
resources.srcDir 'src/mock/resources' | |
output.resourcesDir sourceSets.main.output.resourcesDir | |
} | |
} | |
compileJava.dependsOn compileMockJava | |
processResources.dependsOn processMockResources |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment