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
4 changes: 2 additions & 2 deletions docs/examples/junit4/generic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description = "Examples for docs"
dependencies {
testImplementation "junit:junit:4.13.2"
testImplementation project(":testcontainers")
testImplementation project(":selenium")
testImplementation project(":mysql")
testImplementation project(":testcontainers-selenium")
testImplementation project(":testcontainers-mysql")

testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'
testImplementation "org.seleniumhq.selenium:selenium-api:4.34.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/junit5/redis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.13.4'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.3'
testImplementation project(":testcontainers")
testImplementation project(":junit-jupiter")
testImplementation project(":testcontainers-junit-jupiter")
testImplementation 'org.assertj:assertj-core:3.27.3'
}

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/spock/redis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
dependencies {
api "io.lettuce:lettuce-core:6.7.1.RELEASE"
testImplementation 'org.spockframework:spock-core:2.3-groovy-4.0'
testImplementation project(":spock")
testImplementation project(":testcontainers-spock")
testImplementation 'ch.qos.logback:logback-classic:1.3.15'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/cucumber/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {
testImplementation platform('io.cucumber:cucumber-bom:7.27.0')
testImplementation 'io.cucumber:cucumber-java'
testImplementation 'io.cucumber:cucumber-junit-platform-engine'
testImplementation 'org.testcontainers:selenium'
testImplementation 'org.testcontainers:testcontainers-selenium'
testImplementation 'org.assertj:assertj-core:3.27.3'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.3'
}
Expand Down
2 changes: 1 addition & 1 deletion examples/immudb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
dependencies {
implementation 'io.codenotary:immudb4j:1.0.1'
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
testImplementation 'org.assertj:assertj-core:3.27.3'
testImplementation 'com.google.guava:guava:23.0'
testImplementation 'ch.qos.logback:logback-classic:1.3.15'
Expand Down
2 changes: 1 addition & 1 deletion examples/kafka-cluster/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
dependencies {
testCompileOnly "org.projectlombok:lombok:1.18.38"
testAnnotationProcessor "org.projectlombok:lombok:1.18.38"
testImplementation 'org.testcontainers:kafka'
testImplementation 'org.testcontainers:testcontainers-kafka'
testImplementation 'org.apache.kafka:kafka-clients:4.0.0'
testImplementation 'org.assertj:assertj-core:3.27.3'
testImplementation 'com.google.guava:guava:23.0'
Expand Down
4 changes: 2 additions & 2 deletions examples/neo4j-container/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ repositories {
dependencies {
testImplementation 'org.assertj:assertj-core:3.27.3'
testImplementation 'org.neo4j.driver:neo4j-java-driver:4.4.20'
testImplementation 'org.testcontainers:neo4j'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:testcontainers-neo4j'
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'
}
2 changes: 1 addition & 1 deletion examples/ollama-hugging-face/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repositories {
}

dependencies {
testImplementation 'org.testcontainers:ollama'
testImplementation 'org.testcontainers:testcontainers-ollama'
testImplementation 'org.assertj:assertj-core:3.27.3'
testImplementation 'ch.qos.logback:logback-classic:1.3.15'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
Expand Down
2 changes: 1 addition & 1 deletion examples/redis-backed-cache/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
implementation 'com.google.code.gson:gson:2.13.1'
implementation 'com.google.guava:guava:23.0'
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'ch.qos.logback:logback-classic:1.3.15'
testImplementation 'org.assertj:assertj-core:3.27.3'
Expand Down
4 changes: 2 additions & 2 deletions examples/selenium-container/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ dependencies {
implementation 'org.seleniumhq.selenium:selenium-chrome-driver'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.testcontainers:selenium'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:testcontainers-selenium'
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
testImplementation 'org.assertj:assertj-core:3.27.3'
testRuntimeOnly "org.junit.platform:junit-platform-launcher:1.8.2"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/solr-container/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {
implementation 'org.apache.solr:solr-solrj:8.11.4'

testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.testcontainers:solr'
testImplementation 'org.testcontainers:testcontainers-solr'
testImplementation 'org.assertj:assertj-core:3.27.3'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/spring-boot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
runtimeOnly 'org.postgresql:postgresql'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.testcontainers:postgresql'
testImplementation 'org.testcontainers:testcontainers-postgresql'
testRuntimeOnly "org.junit.platform:junit-platform-launcher:1.8.2"
}

Expand Down
2 changes: 1 addition & 1 deletion modules/azure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ description = "Testcontainers :: Azure"

dependencies {
api project(':testcontainers')
api project(':mssqlserver')
api project(':testcontainers-mssqlserver')
// TODO use JDK's HTTP client and/or Apache HttpClient5
shaded 'com.squareup.okhttp3:okhttp:5.1.0'

Expand Down
2 changes: 1 addition & 1 deletion modules/cassandra/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ configurations.all {
}

dependencies {
api project(":database-commons")
api project(":testcontainers-database-commons")
api "com.datastax.cassandra:cassandra-driver-core:3.10.0"

testImplementation 'com.datastax.oss:java-driver-core:4.17.0'
Expand Down
8 changes: 4 additions & 4 deletions modules/clickhouse/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ description = "Testcontainers :: JDBC :: ClickHouse"

dependencies {
api project(':testcontainers')
api project(':jdbc')
api project(':testcontainers-jdbc')

compileOnly project(':r2dbc')
compileOnly project(':testcontainers-r2dbc')
compileOnly(group: 'com.clickhouse', name: 'clickhouse-r2dbc', version: '0.7.2', classifier: 'http')

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly(group: 'com.clickhouse', name: 'clickhouse-jdbc', version: '0.7.2', classifier: 'http')
testRuntimeOnly(group: 'com.clickhouse', name: 'jdbc-v2', version: '0.7.2', classifier: 'http')

testImplementation 'org.apache.httpcomponents.client5:httpclient5:5.4.2'
testImplementation 'org.assertj:assertj-core:3.27.3'
testImplementation 'com.clickhouse:client-v2:0.9.0'
testImplementation testFixtures(project(':r2dbc'))
testImplementation testFixtures(project(':testcontainers-r2dbc'))
testRuntimeOnly(group: 'com.clickhouse', name: 'clickhouse-r2dbc', version: '0.7.2', classifier: 'http')
}
4 changes: 2 additions & 2 deletions modules/cockroachdb/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
description = "Testcontainers :: JDBC :: CockroachDB"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'org.postgresql:postgresql:42.7.7'
testImplementation 'org.assertj:assertj-core:3.27.3'
}
Expand Down
4 changes: 2 additions & 2 deletions modules/cratedb/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
description = "Testcontainers :: JDBC :: CrateDB"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'org.postgresql:postgresql:42.7.7'

compileOnly 'org.jetbrains:annotations:26.0.2'
Expand Down
4 changes: 2 additions & 2 deletions modules/databend/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
description = "Testcontainers :: JDBC :: Databend"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'com.databend:databend-jdbc:0.4.0'
testImplementation 'org.assertj:assertj-core:3.27.3'
}
4 changes: 2 additions & 2 deletions modules/db2/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
description = "Testcontainers :: JDBC :: DB2"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'com.ibm.db2:jcc:12.1.2.0'
testImplementation 'org.assertj:assertj-core:3.27.3'
}
Expand Down
2 changes: 1 addition & 1 deletion modules/hivemq/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.13.4'
testImplementation(project(":junit-jupiter"))
testImplementation(project(":testcontainers-junit-jupiter"))
testImplementation("com.hivemq:hivemq-extension-sdk:4.42.0")
testImplementation("com.hivemq:hivemq-mqtt-client:1.3.7")
testImplementation("org.apache.httpcomponents:httpclient:4.5.14")
Expand Down
2 changes: 1 addition & 1 deletion modules/jdbc-test/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

api 'com.google.guava:guava:33.4.8-jre'
api 'org.apache.commons:commons-lang3:3.18.0'
Expand Down
2 changes: 1 addition & 1 deletion modules/jdbc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
description = "Testcontainers :: JDBC"

dependencies {
api project(':database-commons')
api project(':testcontainers-database-commons')

compileOnly 'org.jetbrains:annotations:26.0.2'
testImplementation 'commons-dbutils:commons-dbutils:1.8.1'
Expand Down
4 changes: 2 additions & 2 deletions modules/junit-jupiter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ dependencies {
implementation platform('org.junit:junit-bom:5.13.4')
implementation 'org.junit.jupiter:junit-jupiter-api'

testImplementation project(':mysql')
testImplementation project(':postgresql')
testImplementation project(':testcontainers-mysql')
testImplementation project(':testcontainers-postgresql')
testImplementation 'com.zaxxer:HikariCP:7.0.0'
testImplementation 'redis.clients:jedis:6.0.0'
testImplementation 'org.apache.httpcomponents:httpclient:4.5.14'
Expand Down
8 changes: 4 additions & 4 deletions modules/mariadb/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
description = "Testcontainers :: JDBC :: MariaDB"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

compileOnly project(':r2dbc')
compileOnly project(':testcontainers-r2dbc')
compileOnly 'org.mariadb:r2dbc-mariadb:1.0.3'

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testImplementation 'org.mariadb.jdbc:mariadb-java-client:3.5.4'

testImplementation testFixtures(project(':r2dbc'))
testImplementation testFixtures(project(':testcontainers-r2dbc'))
testRuntimeOnly 'org.mariadb:r2dbc-mariadb:1.0.3'
}

Expand Down
10 changes: 5 additions & 5 deletions modules/mssqlserver/build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
description = "Testcontainers :: MS SQL Server"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

compileOnly project(':r2dbc')
compileOnly project(':testcontainers-r2dbc')
compileOnly 'io.r2dbc:r2dbc-mssql:1.0.2.RELEASE'

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testImplementation 'com.microsoft.sqlserver:mssql-jdbc:13.1.1.jre8-preview'

testImplementation project(':r2dbc')
testImplementation project(':testcontainers-r2dbc')
testRuntimeOnly 'io.r2dbc:r2dbc-mssql:1.0.2.RELEASE'

// MSSQL's wait strategy requires the JDBC driver
testImplementation testFixtures(project(':r2dbc'))
testImplementation testFixtures(project(':testcontainers-r2dbc'))
}

tasks.japicmp {
Expand Down
8 changes: 4 additions & 4 deletions modules/mysql/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
description = "Testcontainers :: JDBC :: MySQL"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

compileOnly project(':r2dbc')
compileOnly project(':testcontainers-r2dbc')
compileOnly 'io.asyncer:r2dbc-mysql:1.4.1'

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'

testImplementation testFixtures(project(':r2dbc'))
testImplementation testFixtures(project(':testcontainers-r2dbc'))
testRuntimeOnly 'io.asyncer:r2dbc-mysql:1.4.1'

compileOnly 'org.jetbrains:annotations:26.0.2'
Expand Down
4 changes: 2 additions & 2 deletions modules/oceanbase/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
description = "Testcontainers :: JDBC :: OceanBase"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'
}
8 changes: 4 additions & 4 deletions modules/oracle-free/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
description = "Testcontainers :: JDBC :: Oracle Database Free"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

compileOnly project(':r2dbc')
compileOnly project(':testcontainers-r2dbc')
compileOnly 'com.oracle.database.r2dbc:oracle-r2dbc:1.3.0'

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testImplementation 'com.oracle.database.jdbc:ojdbc11:23.9.0.25.07'

compileOnly 'org.jetbrains:annotations:26.0.2'

testImplementation testFixtures(project(':r2dbc'))
testImplementation testFixtures(project(':testcontainers-r2dbc'))
testRuntimeOnly 'com.oracle.database.r2dbc:oracle-r2dbc:1.3.0'
}
8 changes: 4 additions & 4 deletions modules/oracle-xe/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
description = "Testcontainers :: JDBC :: Oracle XE"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

compileOnly project(':r2dbc')
compileOnly project(':testcontainers-r2dbc')
compileOnly 'com.oracle.database.r2dbc:oracle-r2dbc:1.3.0'

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testImplementation 'com.oracle.database.jdbc:ojdbc11:23.9.0.25.07'

compileOnly 'org.jetbrains:annotations:26.0.2'

testImplementation testFixtures(project(':r2dbc'))
testImplementation testFixtures(project(':testcontainers-r2dbc'))
testRuntimeOnly 'com.oracle.database.r2dbc:oracle-r2dbc:1.3.0'
}

Expand Down
8 changes: 4 additions & 4 deletions modules/postgresql/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
description = "Testcontainers :: JDBC :: PostgreSQL"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

compileOnly project(':r2dbc')
compileOnly project(':testcontainers-r2dbc')
compileOnly 'io.r2dbc:r2dbc-postgresql:0.8.13.RELEASE'

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'org.postgresql:postgresql:42.7.7'

testImplementation testFixtures(project(':r2dbc'))
testImplementation testFixtures(project(':testcontainers-r2dbc'))
testRuntimeOnly 'io.r2dbc:r2dbc-postgresql:0.8.13.RELEASE'

compileOnly 'org.jetbrains:annotations:26.0.2'
Expand Down
4 changes: 2 additions & 2 deletions modules/presto/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
description = "Testcontainers :: JDBC :: Presto"

dependencies {
api project(':jdbc')
api project(':testcontainers-jdbc')

testImplementation project(':jdbc-test')
testImplementation project(':testcontainers-jdbc-test')
testRuntimeOnly 'io.prestosql:presto-jdbc:350'
compileOnly 'org.jetbrains:annotations:26.0.2'
}
Loading
Loading