Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 705a722

Browse files
committed
Remove ehcache configuration from gson-templates since it does not use hibernate
1 parent 54db32a commit 705a722

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

examples/gson-templates/build.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ dependencies {
2424
runtimeOnly project(':views-json-templates')
2525
runtimeOnly 'com.bertramlabs.plugins:asset-pipeline-grails'
2626

27-
runtimeOnly "org.hibernate:hibernate-ehcache:$hibernateVersion", {
28-
// exclude javax variant of hibernate-core
29-
exclude group: "org.hibernate", module: "hibernate-core"
30-
}
31-
runtimeOnly "org.jboss.spec.javax.transaction:jboss-transaction-api_1.3_spec:$jbossTransactionApiVersion", {
32-
// required for hibernate-ehcache to work with javax variant of hibernate-core excluded
33-
}
34-
3527
integrationTestImplementation 'org.grails:grails-testing-support'
3628
}
3729

examples/gson-templates/grails-app/conf/application.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,6 @@ grails:
6969
taglib: none
7070
staticparts: none
7171
---
72-
hibernate:
73-
cache:
74-
queries: false
75-
use_second_level_cache: false
76-
use_query_cache: false
77-
region.factory_class: 'org.hibernate.cache.ehcache.EhCacheRegionFactory'
78-
7972
endpoints:
8073
jmx:
8174
unique-names: true

0 commit comments

Comments
 (0)