diff --git a/mifosng-provider/build.gradle b/mifosng-provider/build.gradle index 4ae27257d..38520c3e8 100644 --- a/mifosng-provider/build.gradle +++ b/mifosng-provider/build.gradle @@ -228,6 +228,9 @@ tomcatRunWar { configFile = file('src/test/resources/META-INF/context.xml') } +/* http://stackoverflow.com/questions/19653311/jpa-repository-works-in-idea-and-production-but-not-in-gradle */ +sourceSets.main.output.resourcesDir = sourceSets.main.output.classesDir +sourceSets.test.output.resourcesDir = sourceSets.test.output.classesDir sourceSets { integrationTest {