2023-04-11 11:15:39 +08:00
|
|
|
plugins {
|
|
|
|
id "java-library"
|
2023-04-13 13:36:59 +08:00
|
|
|
id "org.springframework.boot.auto-configuration"
|
2023-10-15 14:44:45 +08:00
|
|
|
id "org.springframework.boot.configuration-properties"
|
2023-04-11 11:15:39 +08:00
|
|
|
id "org.springframework.boot.conventions"
|
|
|
|
id "org.springframework.boot.deployed"
|
2024-06-25 17:51:33 +08:00
|
|
|
id "org.springframework.boot.docker-test"
|
2023-04-11 11:15:39 +08:00
|
|
|
id "org.springframework.boot.optional-dependencies"
|
|
|
|
}
|
|
|
|
|
|
|
|
description = "Spring Boot Testcontainers Support"
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
api(project(":spring-boot-project:spring-boot-autoconfigure"))
|
2023-04-24 09:23:16 +08:00
|
|
|
api("org.testcontainers:testcontainers")
|
2023-04-11 11:15:39 +08:00
|
|
|
|
2024-06-25 17:51:33 +08:00
|
|
|
dockerTestImplementation(project(":spring-boot-project:spring-boot-test"))
|
2024-06-26 18:10:16 +08:00
|
|
|
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support-docker"))
|
2024-06-25 17:51:33 +08:00
|
|
|
dockerTestImplementation("ch.qos.logback:logback-classic")
|
|
|
|
dockerTestImplementation("co.elastic.clients:elasticsearch-java") {
|
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
|
|
|
dockerTestImplementation("com.couchbase.client:java-client")
|
|
|
|
dockerTestImplementation("io.micrometer:micrometer-registry-otlp")
|
|
|
|
dockerTestImplementation("io.rest-assured:rest-assured") {
|
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
2024-06-27 17:16:36 +08:00
|
|
|
dockerTestImplementation("org.apache.activemq:activemq-client")
|
|
|
|
dockerTestImplementation("org.apache.activemq:artemis-jakarta-client") {
|
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
|
|
|
dockerTestImplementation("org.apache.cassandra:java-driver-core") {
|
|
|
|
exclude group: "org.slf4j", module: "jcl-over-slf4j"
|
|
|
|
}
|
2024-06-25 17:51:33 +08:00
|
|
|
dockerTestImplementation("org.assertj:assertj-core")
|
|
|
|
dockerTestImplementation("org.awaitility:awaitility")
|
|
|
|
dockerTestImplementation("org.flywaydb:flyway-core")
|
|
|
|
dockerTestImplementation("org.junit.jupiter:junit-jupiter")
|
|
|
|
dockerTestImplementation("org.junit.platform:junit-platform-launcher")
|
|
|
|
dockerTestImplementation("org.liquibase:liquibase-core") {
|
|
|
|
exclude(group: "javax.xml.bind", module: "jaxb-api")
|
|
|
|
}
|
|
|
|
dockerTestImplementation("org.mockito:mockito-core")
|
|
|
|
dockerTestImplementation("org.springframework:spring-core-test")
|
|
|
|
dockerTestImplementation("org.springframework:spring-jdbc")
|
|
|
|
dockerTestImplementation("org.springframework:spring-jms")
|
|
|
|
dockerTestImplementation("org.springframework:spring-r2dbc")
|
|
|
|
dockerTestImplementation("org.springframework.amqp:spring-rabbit")
|
|
|
|
dockerTestImplementation("org.springframework.data:spring-data-redis")
|
|
|
|
dockerTestImplementation("org.springframework.kafka:spring-kafka")
|
2024-06-27 17:16:36 +08:00
|
|
|
dockerTestImplementation("org.springframework.ldap:spring-ldap-core")
|
2024-06-25 17:51:33 +08:00
|
|
|
dockerTestImplementation("org.springframework.pulsar:spring-pulsar")
|
|
|
|
dockerTestImplementation("org.testcontainers:junit-jupiter")
|
|
|
|
|
|
|
|
dockerTestRuntimeOnly("com.oracle.database.r2dbc:oracle-r2dbc")
|
|
|
|
dockerTestRuntimeOnly("com.zaxxer:HikariCP")
|
|
|
|
dockerTestRuntimeOnly("io.lettuce:lettuce-core")
|
2024-06-27 17:16:36 +08:00
|
|
|
dockerTestRuntimeOnly("org.flywaydb:flyway-database-postgresql")
|
2024-06-25 17:51:33 +08:00
|
|
|
dockerTestRuntimeOnly("org.postgresql:postgresql")
|
|
|
|
|
2023-04-22 10:06:26 +08:00
|
|
|
optional(project(":spring-boot-project:spring-boot-actuator-autoconfigure"))
|
2023-04-11 11:15:39 +08:00
|
|
|
optional("org.springframework:spring-test")
|
|
|
|
optional("org.springframework.data:spring-data-mongodb")
|
|
|
|
optional("org.springframework.data:spring-data-neo4j")
|
2024-01-26 06:07:08 +08:00
|
|
|
optional("org.testcontainers:activemq")
|
2023-04-11 11:15:39 +08:00
|
|
|
optional("org.testcontainers:cassandra")
|
|
|
|
optional("org.testcontainers:couchbase")
|
|
|
|
optional("org.testcontainers:elasticsearch")
|
|
|
|
optional("org.testcontainers:jdbc")
|
|
|
|
optional("org.testcontainers:kafka")
|
|
|
|
optional("org.testcontainers:mariadb")
|
|
|
|
optional("org.testcontainers:mongodb")
|
|
|
|
optional("org.testcontainers:mssqlserver")
|
|
|
|
optional("org.testcontainers:mysql")
|
|
|
|
optional("org.testcontainers:neo4j")
|
2023-04-18 19:52:37 +08:00
|
|
|
optional("org.testcontainers:oracle-xe")
|
2023-11-22 03:46:40 +08:00
|
|
|
optional("org.testcontainers:oracle-free")
|
2023-04-11 11:15:39 +08:00
|
|
|
optional("org.testcontainers:postgresql")
|
2023-05-22 13:15:30 +08:00
|
|
|
optional("org.testcontainers:pulsar")
|
2023-04-11 11:15:39 +08:00
|
|
|
optional("org.testcontainers:rabbitmq")
|
2023-04-18 19:29:43 +08:00
|
|
|
optional("org.testcontainers:redpanda")
|
2023-04-11 11:15:39 +08:00
|
|
|
optional("org.testcontainers:r2dbc")
|
|
|
|
|
2023-05-03 09:55:03 +08:00
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
2024-06-25 17:51:33 +08:00
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
2023-04-11 11:15:39 +08:00
|
|
|
testImplementation("org.assertj:assertj-core")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
|
|
testImplementation("org.mockito:mockito-core")
|
|
|
|
testImplementation("org.mockito:mockito-junit-jupiter")
|
|
|
|
testImplementation("org.springframework:spring-core-test")
|
2024-05-20 19:13:04 +08:00
|
|
|
testImplementation("org.springframework:spring-jdbc")
|
2023-04-20 00:34:19 +08:00
|
|
|
testImplementation("org.springframework:spring-jms")
|
2023-04-18 20:47:46 +08:00
|
|
|
testImplementation("org.springframework:spring-r2dbc")
|
2023-04-11 11:15:39 +08:00
|
|
|
testImplementation("org.springframework.amqp:spring-rabbit")
|
2024-05-20 19:13:04 +08:00
|
|
|
testImplementation("org.springframework.data:spring-data-redis")
|
2023-04-11 11:15:39 +08:00
|
|
|
testImplementation("org.springframework.kafka:spring-kafka")
|
2023-05-22 13:15:30 +08:00
|
|
|
testImplementation("org.springframework.pulsar:spring-pulsar")
|
2023-04-11 11:15:39 +08:00
|
|
|
testImplementation("org.testcontainers:junit-jupiter")
|
|
|
|
}
|