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:
committed by
Michael Vorburger.ch
parent
1ee141bb87
commit
fd74931390
@@ -43,7 +43,7 @@ buildscript {
|
|||||||
'org.zeroturnaround:gradle-jrebel-plugin:1.1.2',
|
'org.zeroturnaround:gradle-jrebel-plugin:1.1.2',
|
||||||
'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE' // also change springDataJpaVersion below
|
'org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE' // also change springDataJpaVersion below
|
||||||
classpath "org.apache.openjpa:openjpa-all:$openJPAVersion"
|
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'
|
classpath 'gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.2.2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -76,12 +76,12 @@ repositories {
|
|||||||
jcenter()
|
jcenter()
|
||||||
// mavenLocal() // useful for local dev using MariaDB4j SNAPSHOTs (not needed for real-world non-SNAPHOT builds)
|
// mavenLocal() // useful for local dev using MariaDB4j SNAPSHOTs (not needed for real-world non-SNAPHOT builds)
|
||||||
}
|
}
|
||||||
|
|
||||||
openjpa {
|
openjpa {
|
||||||
files = fileTree(sourceSets.main.output.classesDirs.filter {
|
includes = ['**/AbstractPersistableCustom.class', '**/domain/*.class']
|
||||||
include '**/AbstractPersistableCustom.class'
|
enhance {
|
||||||
include '**/domain/*.class'
|
enforcePropertyRestrictions true
|
||||||
})
|
}
|
||||||
enforcePropertyRestrictions = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rat {
|
rat {
|
||||||
|
|||||||
Reference in New Issue
Block a user