Skip to content

Commit 6132e3d

Browse files
committed
#162 upgrade to testcontainers 1.17.6
1 parent 3448f10 commit 6132e3d

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

build.gradle

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ project(':embedded-database-spring-test') {
198198
dependencies {
199199
compile project(':embedded-database-spring-test-autoconfigure')
200200

201-
compile 'org.testcontainers:postgresql:1.15.3'
202-
compile 'org.testcontainers:mssqlserver:1.15.3'
203-
compile 'org.testcontainers:mysql:1.15.3'
204-
compile 'org.testcontainers:mariadb:1.15.3'
201+
compile 'org.testcontainers:postgresql:1.17.6'
202+
compile 'org.testcontainers:mssqlserver:1.17.6'
203+
compile 'org.testcontainers:mysql:1.17.6'
204+
compile 'org.testcontainers:mariadb:1.17.6'
205205

206206
compile 'io.zonky.test:embedded-postgres:2.0.1', optional
207207
compile 'com.opentable.components:otj-pg-embedded:0.13.4', optional
@@ -244,6 +244,12 @@ project(':embedded-database-spring-test') {
244244
extendsFrom testRuntime
245245
resolutionStrategy {
246246

247+
eachDependency { details ->
248+
if (details.requested.group == 'junit') {
249+
details.useVersion "4.12"
250+
}
251+
}
252+
247253
if (version.spring == 'none') { // mandatory dependencies must be explicitly excluded
248254
exclude group: 'org.springframework'
249255
} else if (version.spring != null) {
@@ -406,6 +412,7 @@ project(':embedded-database-spring-test') {
406412
excludeCategories 'io.zonky.test.category.MSSQLTestSuite'
407413
excludeCategories 'io.zonky.test.category.MySQLTestSuite'
408414
excludeCategories 'io.zonky.test.category.MariaDBTestSuite'
415+
excludeCategories 'io.zonky.test.category.H2TestSuite'
409416
}
410417
}
411418

0 commit comments

Comments
 (0)