From fd74931390199f6b6b8c8ca246d018c23c298698 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Mon, 18 Feb 2019 00:25:05 +0100 Subject: [PATCH] upgrade (switch) OpenJPA Gradle plugin (FINERACT-700) from at.schmutterer.oss.gradle:gradle-openjpa to com.radcortez.gradle:openjpa-gradle-plugin due to https://github.com/schmutterer/gradle-openjpa/issues/8 --- fineract-provider/build.gradle | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle index 77d40d71e..00979ab41 100644 --- a/fineract-provider/build.gradle +++ b/fineract-provider/build.gradle @@ -43,7 +43,7 @@ buildscript { 'org.zeroturnaround:gradle-jrebel-plugin:1.1.2', 'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE' // also change springDataJpaVersion below classpath "org.apache.openjpa:openjpa-all:$openJPAVersion" - classpath 'at.schmutterer.oss.gradle:gradle-openjpa:0.2.0' + classpath 'com.radcortez.gradle:openjpa-gradle-plugin:3.0.0' classpath 'gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.2.2' } } @@ -76,12 +76,12 @@ repositories { jcenter() // mavenLocal() // useful for local dev using MariaDB4j SNAPSHOTs (not needed for real-world non-SNAPHOT builds) } + openjpa { - files = fileTree(sourceSets.main.output.classesDirs.filter { - include '**/AbstractPersistableCustom.class' - include '**/domain/*.class' - }) - enforcePropertyRestrictions = true + includes = ['**/AbstractPersistableCustom.class', '**/domain/*.class'] + enhance { + enforcePropertyRestrictions true + } } rat {