You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by bo...@apache.org on 2026/04/10 16:41:17 UTC
(grails-core) 02/04: fix testcontainers versions
This is an automated email from the ASF dual-hosted git repository.
borinquenkid pushed a commit to branch 8.0.x-hibernate7-dev
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit c0d2d3e89edbdf71c1314dad4dbe2c9a7c7912c0
Author: Walter Duque de Estrada <wb...@mac.com>
AuthorDate: Fri Apr 10 10:34:02 2026 -0500
fix testcontainers versions
---
dependencies.gradle | 2 +-
grails-data-hibernate7/core/build.gradle | 18 +++++++++---------
grails-data-hibernate7/dbmigration/build.gradle | 4 ++--
grails-data-mongodb/core/build.gradle | 2 +-
grails-forge/grails-forge-cli/build.gradle | 2 +-
5 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/dependencies.gradle b/dependencies.gradle
index 061b88f5a0..59898d1c9f 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -38,7 +38,7 @@ ext {
'jquery.version' : '3.7.1',
'objenesis.version' : '3.4',
'spring-boot.version' : '4.0.5',
- 'testcontainers.version' : '1.20.1',
+ 'testcontainers.version' : '2.0.4',
]
// Note: the name of the dependency must be the prefix of the property name so properties in the pom are resolved correctly
diff --git a/grails-data-hibernate7/core/build.gradle b/grails-data-hibernate7/core/build.gradle
index 07bc620e57..8c5eb861ce 100644
--- a/grails-data-hibernate7/core/build.gradle
+++ b/grails-data-hibernate7/core/build.gradle
@@ -87,15 +87,15 @@ dependencies {
}
testImplementation 'org.testcontainers:testcontainers'
- testImplementation 'org.postgresql:postgresql:42.7.5'
- testImplementation 'org.testcontainers:postgresql'
- testImplementation 'com.mysql:mysql-connector-j:9.2.0'
- testImplementation 'org.testcontainers:mysql'
- testImplementation 'org.mariadb.jdbc:mariadb-java-client:3.5.2'
- testImplementation 'org.testcontainers:mariadb'
- testImplementation 'com.oracle.database.jdbc:ojdbc11:23.7.0.25.01'
- testImplementation 'org.testcontainers:oracle-free'
- testImplementation 'org.testcontainers:spock'
+ testImplementation 'org.postgresql:postgresql'
+ testImplementation 'org.testcontainers:testcontainers-postgresql'
+ testImplementation 'com.mysql:mysql-connector-j'
+ testImplementation 'org.testcontainers:testcontainers-mysql'
+ testImplementation 'org.mariadb.jdbc:mariadb-java-client'
+ testImplementation 'org.testcontainers:testcontainers-mariadb'
+ testImplementation 'com.oracle.database.jdbc:ojdbc11'
+ testImplementation 'org.testcontainers:testcontainers-oracle-free'
+ testImplementation 'org.testcontainers:testcontainers-spock'
testImplementation 'org.jsr107.ri:cache-ri-impl:1.1.1'
testImplementation 'org.objenesis:objenesis:3.4' // or a more recent version if available
diff --git a/grails-data-hibernate7/dbmigration/build.gradle b/grails-data-hibernate7/dbmigration/build.gradle
index 2e08d24678..a5d2573b56 100644
--- a/grails-data-hibernate7/dbmigration/build.gradle
+++ b/grails-data-hibernate7/dbmigration/build.gradle
@@ -87,8 +87,8 @@ dependencies {
testImplementation project(':grails-testing-support-web')
testImplementation 'org.testcontainers:testcontainers'
- testImplementation 'org.testcontainers:postgresql'
- testImplementation 'org.testcontainers:spock'
+ testImplementation 'org.testcontainers:testcontainers-postgresql'
+ testImplementation 'org.testcontainers:testcontainers-spock'
testImplementation 'com.h2database:h2'
testImplementation 'org.hsqldb:hsqldb'
testImplementation 'org.postgresql:postgresql'
diff --git a/grails-data-mongodb/core/build.gradle b/grails-data-mongodb/core/build.gradle
index d244c24b52..c2c7b49d5c 100644
--- a/grails-data-mongodb/core/build.gradle
+++ b/grails-data-mongodb/core/build.gradle
@@ -133,7 +133,7 @@ dependencies {
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.testcontainers:mongodb'
- testImplementation 'org.testcontainers:spock'
+ testImplementation 'org.testcontainers:testcontainers-spock'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testRuntimeOnly 'org.slf4j:slf4j-nop' // Get rid of warning about missing slf4j implementation during tests
diff --git a/grails-forge/grails-forge-cli/build.gradle b/grails-forge/grails-forge-cli/build.gradle
index b44a145b51..2fe5810e0f 100644
--- a/grails-forge/grails-forge-cli/build.gradle
+++ b/grails-forge/grails-forge-cli/build.gradle
@@ -97,7 +97,7 @@ dependencies {
testImplementation 'io.micronaut.picocli:micronaut-picocli'
testImplementation "org.reflections:reflections:$reflectionsVersion"
- testImplementation 'org.testcontainers:spock'
+ testImplementation 'org.testcontainers:testcontainers-spock'
if (project.hasProperty('micronautVersion')) {
testCompileOnly "io.micronaut:micronaut-inject-groovy:$micronautVersion"
}