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

Commit 33a0702

Browse files
committed
chore: Cleanup examples-standalone-hibernate5
Use correct dependencies and narrow the scopes. Switch from `tomcat-jdbc` to `HikariCP` as this will be the new default. Apply Gradle plugins in subproject instead of having logic and conditions in the root build file apply them - much easier to see what's being applied.
1 parent 9192b72 commit 33a0702

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
group 'examples'
1+
group = 'examples'
22

3-
apply plugin:"groovy"
3+
apply plugin: 'groovy'
44

55
dependencies {
6+
67
implementation platform("org.grails:grails-bom:$grailsVersion")
7-
implementation project(":grails-datastore-gorm-hibernate5")
8-
runtimeOnly "com.h2database:h2"
9-
runtimeOnly "org.apache.tomcat:tomcat-jdbc"
10-
runtimeOnly "org.apache.tomcat.embed:tomcat-embed-logging-log4j:$tomcatLog4jVersion"
11-
runtimeOnly "org.slf4j:slf4j-api"
12-
implementation "org.grails:grails-core"
13-
testImplementation "org.spockframework:spock-core"
8+
implementation project(':grails-datastore-gorm-hibernate5')
9+
implementation 'org.springframework:spring-tx'
10+
11+
runtimeOnly 'com.h2database:h2'
12+
runtimeOnly 'com.zaxxer:HikariCP'
13+
14+
testImplementation 'org.spockframework:spock-core'
1415

15-
testRuntimeOnly "org.slf4j:slf4j-simple"
16+
testRuntimeOnly 'org.slf4j:slf4j-simple'
1617
}

0 commit comments

Comments
 (0)