Skip to content

Commit bbe9b20

Browse files
authored
Merge pull request #219 from zonkyio/testcontainers-1.17.6
#162 Upgrade to Testcontainers 1.17.6
2 parents bbe2ca6 + 6132e3d commit bbe9b20

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
@@ -199,10 +199,10 @@ project(':embedded-database-spring-test') {
199199
dependencies {
200200
compile project(':embedded-database-spring-test-autoconfigure')
201201

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

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

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

0 commit comments

Comments
 (0)