File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ org.gradle.daemon=true
2323org.gradle.jvmargs =-Dfile.encoding=UTF-8 -Xmx1536M -XX:MaxMetaspaceSize=1024M
2424
2525# libraries only specific to test apps, these should not be exposed
26+ hibernateVersion =5.6.15.Final
27+ jbossTransactionApiVersion =2.0.0.Final
2628micronautVersion =4.6.5
2729micronautSerdeJacksonVersion =2.11.0
2830springSecurityCoreVersion =7.0.0-SNAPSHOT
Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ dependencies {
2727 implementation " org.grails:grails-web-boot"
2828
2929 implementation " org.grails.plugins:hibernate5"
30+ runtimeOnly " org.hibernate:hibernate-ehcache:$hibernateVersion " , {
31+ // exclude javax variant of hibernate-core
32+ exclude group : ' org.hibernate' , module : ' hibernate-core'
33+ }
34+ runtimeOnly " org.jboss.spec.javax.transaction:jboss-transaction-api_1.3_spec:$jbossTransactionApiVersion " , {
35+ // required for hibernate-ehcache to work with javax variant of hibernate-core excluded
36+ }
3037 implementation " org.grails.plugins:cache"
3138
3239 runtimeOnly " com.bertramlabs.plugins:asset-pipeline-grails"
Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ dependencies {
2727 implementation " org.grails:grails-web-boot"
2828
2929 implementation " org.grails.plugins:hibernate5"
30+ runtimeOnly " org.hibernate:hibernate-ehcache:$hibernateVersion " , {
31+ // exclude javax variant of hibernate-core
32+ exclude group : ' org.hibernate' , module : ' hibernate-core'
33+ }
34+ runtimeOnly " org.jboss.spec.javax.transaction:jboss-transaction-api_1.3_spec:$jbossTransactionApiVersion " , {
35+ // required for hibernate-ehcache to work with javax variant of hibernate-core excluded
36+ }
3037 implementation " org.grails.plugins:cache"
3138
3239 runtimeOnly " org.grails.plugins:scaffolding"
You can’t perform that action at this time.
0 commit comments