Skip to content
This repository has been archived by the owner on Feb 16, 2025. It is now read-only.

Commit

Permalink
Preparing 2.0 (#124)
Browse files Browse the repository at this point in the history
* Making Container a receiver of some of the lifecycle hooks

* 2.0 snapshot ready
  • Loading branch information
Kantis authored Jun 1, 2024
1 parent 6cf34d0 commit aa95141
Show file tree
Hide file tree
Showing 31 changed files with 42 additions and 1,276 deletions.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ dependencies {
api(libs.kafka.client)
api(libs.hikari)

testImplementation(libs.logback)
testImplementation(libs.kotest.assertions.core)
testImplementation(libs.kotest.runner.junit5)
testImplementation(libs.jedis)
testImplementation(libs.testcontainers.mysql)
testImplementation(libs.testcontainers.redis)
testImplementation(libs.mysql.connector.java)
}
7 changes: 7 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
`kotlin-dsl`
}

kotlin {
jvmToolchain(11)
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
}

repositories {
mavenCentral()
}
1 change: 1 addition & 0 deletions buildSrc/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name="buildSrc"
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ jedis = { module = "redis.clients:jedis", version = "4.3.1" }
mysql-connector-java = { module = "mysql:mysql-connector-java", version = "8.0.33" }
kafka-client = { module = "org.apache.kafka:kafka-clients", version = "3.5.1" }
elastic-client = { module = "co.elastic.clients:elasticsearch-java", version = "7.17.21" }
logback = { module = "ch.qos.logback:logback-classic", version = "1.5.6" }

testcontainers-elastic = { module = "org.testcontainers:elasticsearch", version.ref = "testcontainers" }
testcontainers-mysql = { module = "org.testcontainers:mysql", version.ref = "testcontainers" }
testcontainers-kafka = { module = "org.testcontainers:kafka", version.ref = "testcontainers" }
testcontainers-jdbc = { module = "org.testcontainers:jdbc", version.ref = "testcontainers" }
testcontainers-core = { module = "org.testcontainers:testcontainers", version.ref = "testcontainers" }
testcontainers-redis = { module = "com.redis:testcontainers-redis", version = "1.7.0" }

kotest-runner-junit5 = { module = "io.kotest:kotest-runner-junit5", version.ref = "kotest" }
kotest-assertions-core = { module = "io.kotest:kotest-assertions-core", version.ref = "kotest" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

This file was deleted.

286 changes: 0 additions & 286 deletions src/main/java/io/kotest/extensions/testcontainers/ScriptRunner.java

This file was deleted.

Loading

0 comments on commit aa95141

Please sign in to comment.