Skip to content

Commit 0e4aadd

Browse files
#430: Fix build.gradle.kts to depend on JUnit 5 to correct running of containers
1 parent 37e67fe commit 0e4aadd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ kotlin {
226226
dependencies {
227227
implementation("org.testcontainers:testcontainers:1.19.7")
228228
implementation("org.testcontainers:junit-jupiter:1.19.7")
229+
implementation("org.junit.jupiter:junit-jupiter-api:5.10.2")
230+
runtimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.2")
229231
}
230232
}
231233
}
@@ -234,6 +236,7 @@ kotlin {
234236
tasks {
235237
val jvmTest by existing(Test::class) {
236238
// maxHeapSize = "1024m"
239+
useJUnitPlatform()
237240
}
238241

239242
val compileJavaModuleInfo by registering(JavaCompile::class) {

0 commit comments

Comments
 (0)