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
This commit is contained in:
Michael Vorburger
2019-07-09 10:04:03 +02:00
committed by Michael Vorburger.ch
parent 1ee141bb87
commit fd74931390
+6 -6
View File
@@ -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 {