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

Commit 6c6688f

Browse files
committed
use h2 version from grails-bom
1 parent 6c567f6 commit 6c6688f

File tree

7 files changed

+5
-8
lines changed

7 files changed

+5
-8
lines changed

boot-plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ dependencies {
1313

1414
testRuntimeOnly "org.apache.tomcat:tomcat-jdbc:$tomcatVersion"
1515
testRuntimeOnly "org.apache.tomcat.embed:tomcat-embed-logging-log4j:$tomcatLog4jVersion"
16-
testRuntimeOnly "com.h2database:h2:$h2Version"
16+
testRuntimeOnly "com.h2database:h2"
1717
}

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ subprojects { Project subproject ->
8383
if(isExample) {
8484
apply plugin: "groovy"
8585

86-
ext['h2.version'] = h2Version
8786
ext['gorm.version'] = gormVersion
8887

8988
if(subproject.name.startsWith("examples-grails")) {

examples/spring-boot-hibernate5/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies {
3030
implementation "org.hibernate:hibernate-core-jakarta:$hibernate5Version"
3131
implementation "org.hibernate:hibernate-ehcache:$hibernate5Version"
3232

33-
runtimeOnly "com.h2database:h2:$h2Version"
33+
runtimeOnly "com.h2database:h2"
3434
runtimeOnly "org.apache.tomcat:tomcat-jdbc:$tomcatVersion"
3535
runtimeOnly "org.apache.tomcat.embed:tomcat-embed-logging-log4j:$tomcatLog4jVersion"
3636
runtimeOnly "org.slf4j:slf4j-api:$slf4jVersion"

examples/standalone-hibernate5/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin:"groovy"
44

55
dependencies {
66
implementation project(":grails-datastore-gorm-hibernate5")
7-
runtimeOnly "com.h2database:h2:$h2Version"
7+
runtimeOnly "com.h2database:h2"
88
runtimeOnly "org.apache.tomcat:tomcat-jdbc:$tomcatVersion"
99
runtimeOnly "org.apache.tomcat.embed:tomcat-embed-logging-log4j:$tomcatLog4jVersion"
1010
runtimeOnly "org.slf4j:slf4j-api:$slf4jVersion"

gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ grailsSpringSecurityRestVersion=6.0.0-SNAPSHOT
1414
grailsVersion=7.0.0-SNAPSHOT
1515
groovydocGradlePluginVersion=1.0.1
1616
groovyVersion=4.0.24-SNAPSHOT
17-
# Tests are built for 1.4.200, so stick with older version
18-
h2Version=1.4.200
1917
hibernate5Version=5.6.15.Final
2018
hibernateValidatorVersion=8.0.1.Final
2119
hibernateGroovyProxy=1.1

grails-datastore-gorm-hibernate5/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
testImplementation "org.grails:grails-datastore-gorm-tck:$gormVersion", {
3939
exclude group: "org.spockframework"
4040
}
41-
testImplementation "com.h2database:h2:$h2Version"
41+
testImplementation "com.h2database:h2"
4242

4343
testImplementation "org.hibernate:hibernate-ehcache:$hibernate5Version"
4444

grails-plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dependencies {
4343
}
4444
testRuntimeOnly "org.yaml:snakeyaml:$snakeYamlVersion"
4545
testImplementation "org.grails:grails-gorm-testing-support:$testingSupportVersion"
46-
testRuntimeOnly "com.h2database:h2:$h2Version"
46+
testRuntimeOnly "com.h2database:h2"
4747
testRuntimeOnly "org.apache.tomcat:tomcat-jdbc:$tomcatVersion"
4848
testRuntimeOnly "org.apache.tomcat.embed:tomcat-embed-logging-log4j:$tomcatLog4jVersion"
4949
testRuntimeOnly "org.springframework:spring-aop:$springVersion"

0 commit comments

Comments
 (0)