diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle index 1d8f96ab7..2172b7a32 100644 --- a/fineract-provider/build.gradle +++ b/fineract-provider/build.gradle @@ -38,8 +38,8 @@ compileJava.doLast { description = 'Performs EclipseLink static weaving of entity classes' def target = source main 'org.eclipse.persistence.tools.weaving.jpa.StaticWeave' - args '-persistenceinfo', source, '-classpath', configurations.runtimeClasspath, source, target - classpath configurations.runtimeClasspath + args '-persistenceinfo', source, '-classpath', sourceSets.main.runtimeClasspath, source, target + classpath sourceSets.main.runtimeClasspath } delete { delete "${source}/META-INF/persistence.xml"