Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ subprojects {
}

test {
useJUnitPlatform()

defaultCharacterEncoding = "UTF-8"
testLogging {
displayGranularity 1
Expand Down Expand Up @@ -133,6 +135,10 @@ subprojects {

dependencies {
testImplementation 'ch.qos.logback:logback-classic:1.3.15'
testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'
}

checkstyle {
Expand Down
8 changes: 0 additions & 8 deletions modules/activemq/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ description = "Testcontainers :: ActiveMQ"
dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation "org.apache.activemq:activemq-client:6.1.7"
testImplementation "org.apache.activemq:artemis-jakarta-client:2.42.0"
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/azure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ dependencies {
// TODO use JDK's HTTP client and/or Apache HttpClient5
shaded 'com.squareup.okhttp3:okhttp:5.1.0'

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation platform("com.azure:azure-sdk-bom:1.2.32")
testImplementation 'com.azure:azure-cosmos'
testImplementation 'com.azure:azure-storage-blob'
Expand All @@ -19,7 +15,3 @@ dependencies {
testImplementation 'com.azure:azure-messaging-servicebus'
testImplementation 'com.microsoft.sqlserver:mssql-jdbc:13.2.0.jre8'
}

test {
useJUnitPlatform()
}
9 changes: 0 additions & 9 deletions modules/cassandra/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,5 @@ dependencies {
api project(":testcontainers-database-commons")
api "com.datastax.cassandra:cassandra-driver-core:3.10.0"

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.13.4'
testImplementation 'com.datastax.oss:java-driver-core:4.17.0'
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/chromadb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,5 @@ description = "Testcontainers :: ChromaDB"
dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'io.rest-assured:rest-assured:5.5.6'
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/clickhouse/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@ dependencies {
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly(group: 'com.clickhouse', name: 'clickhouse-jdbc', version: '0.9.1', classifier: 'all')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation 'com.clickhouse:client-v2:0.9.1'
testImplementation testFixtures(project(':testcontainers-r2dbc'))
testRuntimeOnly(group: 'com.clickhouse', name: 'clickhouse-r2dbc', version: '0.9.1', classifier: 'http')
}

test {
useJUnitPlatform()
}
7 changes: 0 additions & 7 deletions modules/cockroachdb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,12 @@ dependencies {
api project(':testcontainers-jdbc')

testRuntimeOnly 'org.postgresql:postgresql:42.7.7'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation project(':testcontainers-jdbc-test')
testImplementation 'org.assertj:assertj-core:3.27.4'
}

tasks.japicmp {
classExcludes = [
"org.testcontainers.containers.CockroachContainer"
]
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/consul/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ description = "Testcontainers :: Consul"
dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'com.ecwid.consul:consul-api:1.4.5'
testImplementation 'io.rest-assured:rest-assured:5.5.6'
testImplementation 'org.assertj:assertj-core:3.27.4'
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/couchbase/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,12 @@ dependencies {
// TODO use JDK's HTTP client and/or Apache HttpClient5
shaded 'com.squareup.okhttp3:okhttp:5.1.0'

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'com.couchbase.client:java-client:3.9.0'
testImplementation 'org.awaitility:awaitility:4.3.0'
testImplementation 'org.assertj:assertj-core:3.27.4'
}

tasks.japicmp {
classExcludes = [
"org.testcontainers.couchbase.CouchbaseContainer"
]
}

test {
useJUnitPlatform()
}
6 changes: 0 additions & 6 deletions modules/cratedb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@ dependencies {
api project(':testcontainers-jdbc')

testRuntimeOnly 'org.postgresql:postgresql:42.7.7'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation project(':testcontainers-jdbc-test')

compileOnly 'org.jetbrains:annotations:26.0.2'
}

test {
useJUnitPlatform()
}
9 changes: 0 additions & 9 deletions modules/database-commons/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,4 @@ description = "Testcontainers :: Database-Commons"

dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.assertj:assertj-core:3.27.4'
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/databend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,4 @@ dependencies {

testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'com.databend:databend-jdbc:0.4.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.assertj:assertj-core:3.27.4'
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/db2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ description = "Testcontainers :: JDBC :: DB2"
dependencies {
api project(':testcontainers-jdbc')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'com.ibm.db2:jcc:12.1.2.0'
testImplementation 'org.assertj:assertj-core:3.27.4'
}

tasks.japicmp {
classExcludes = [
"org.testcontainers.containers.Db2Container"
]
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/elasticsearch/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ description = "Testcontainers :: elasticsearch"
dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation "org.elasticsearch.client:elasticsearch-rest-client:9.1.2"
testImplementation "org.elasticsearch.client:transport:7.17.29"
testImplementation 'org.assertj:assertj-core:3.27.4'
}

tasks.japicmp {
classExcludes = [
"org.testcontainers.elasticsearch.ElasticsearchContainer"
]
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/gcloud/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,11 @@ description = "Testcontainers :: GCloud"
dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation platform("com.google.cloud:libraries-bom:26.66.0")
testImplementation 'com.google.cloud:google-cloud-bigquery'
testImplementation 'com.google.cloud:google-cloud-datastore'
testImplementation 'com.google.cloud:google-cloud-firestore'
testImplementation 'com.google.cloud:google-cloud-pubsub'
testImplementation 'com.google.cloud:google-cloud-spanner'
testImplementation 'com.google.cloud:google-cloud-bigtable'
testImplementation 'org.assertj:assertj-core:3.27.4'
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/grafana/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ description = "Testcontainers :: Grafana"
dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation 'io.rest-assured:rest-assured:5.5.6'
testImplementation 'io.micrometer:micrometer-registry-otlp:1.15.3'
testImplementation 'uk.org.webcompere:system-stubs-jupiter:2.1.8'
Expand All @@ -16,7 +12,3 @@ dependencies {
testImplementation 'io.opentelemetry:opentelemetry-sdk'
testImplementation 'io.opentelemetry:opentelemetry-exporter-otlp'
}

test {
useJUnitPlatform()
}
7 changes: 0 additions & 7 deletions modules/hivemq/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,14 @@ dependencies {
shaded("org.jboss.shrinkwrap:shrinkwrap-impl-base:1.2.6")
shaded("net.lingala.zip4j:zip4j:2.11.5")

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.13.4'
testImplementation(project(":testcontainers-junit-jupiter"))
testImplementation("com.hivemq:hivemq-extension-sdk:4.42.0")
testImplementation("com.hivemq:hivemq-mqtt-client:1.3.8")
testImplementation("org.apache.httpcomponents:httpclient:4.5.14")
testImplementation("ch.qos.logback:logback-classic:1.5.18")
testImplementation 'org.assertj:assertj-core:3.27.4'
}

test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(11)
}
Expand Down
8 changes: 0 additions & 8 deletions modules/influxdb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ dependencies {

compileOnly 'org.influxdb:influxdb-java:2.25'

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation 'org.influxdb:influxdb-java:2.25'
testImplementation "com.influxdb:influxdb-client-java:7.3.0"
}
Expand All @@ -18,7 +14,3 @@ tasks.japicmp {
"org.testcontainers.containers.InfluxDBContainer"
]
}

test {
useJUnitPlatform()
}
8 changes: 0 additions & 8 deletions modules/jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ description = "Testcontainers :: JDBC"
dependencies {
api project(':testcontainers-database-commons')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
compileOnly 'org.jetbrains:annotations:26.0.2'
testImplementation 'commons-dbutils:commons-dbutils:1.8.1'
testImplementation 'org.vibur:vibur-dbcp:26.0'
testImplementation 'org.apache.tomcat:tomcat-jdbc:11.0.10'
testImplementation 'com.zaxxer:HikariCP-java6:2.3.13'
testImplementation 'org.assertj:assertj-core:3.27.4'
testImplementation ('org.mockito:mockito-core:4.11.0') {
exclude(module: 'hamcrest-core')
}
}

test {
useJUnitPlatform()
}
10 changes: 0 additions & 10 deletions modules/junit-jupiter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,7 @@ dependencies {
testImplementation ('org.mockito:mockito-core:4.11.0') {
exclude(module: 'hamcrest-core')
}
testImplementation 'org.assertj:assertj-core:3.27.3'
testImplementation 'org.junit.jupiter:junit-jupiter'

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.13.4'
testRuntimeOnly 'org.postgresql:postgresql:42.7.7'
testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'
}

test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
8 changes: 0 additions & 8 deletions modules/k3s/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ dependencies {
// Synchronize with the jackson version, must match major and minor version
shaded 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.18.4'

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'io.fabric8:kubernetes-client:7.3.1'
testImplementation 'io.kubernetes:client-java:24.0.0-legacy'
testImplementation 'org.assertj:assertj-core:3.27.4'
}

test {
useJUnitPlatform()
}
9 changes: 0 additions & 9 deletions modules/k6/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,4 @@ description = "Testcontainers :: k6"

dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.assertj:assertj-core:3.27.4'
}

test {
useJUnitPlatform()
}
Loading
Loading