diff --git a/dataframe-compiler-plugin-core/build.gradle.kts b/dataframe-compiler-plugin-core/build.gradle.kts index cf7de58b9e..eeb34aef08 100644 --- a/dataframe-compiler-plugin-core/build.gradle.kts +++ b/dataframe-compiler-plugin-core/build.gradle.kts @@ -14,7 +14,7 @@ plugins { group = "org.jetbrains.kotlinx.dataframe" dependencies { - implementation(project(":core")) { + implementation(projects.core) { exclude(group = "org.jetbrains.kotlin", module = "kotlin-reflect") exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib") exclude(group = "org.jetbrains.kotlinx", module = "kotlinx-datetime-jvm") @@ -33,8 +33,12 @@ dependencies { } // we assume Kotlin plugin has reflect dependency - we're not bringing our own version - testImplementation(kotlin("reflect")) - testImplementation(kotlin("test")) + testImplementation(libs.kotlin.reflect) + testImplementation(libs.kotlin.test.junit5) +} + +tasks.test { + useJUnitPlatform() } tasks.withType { diff --git a/plugins/expressions-converter/build.gradle.kts b/plugins/expressions-converter/build.gradle.kts index 6fdf2cb22c..5c98053939 100644 --- a/plugins/expressions-converter/build.gradle.kts +++ b/plugins/expressions-converter/build.gradle.kts @@ -17,8 +17,7 @@ dependencies { testImplementation(libs.kotlin.compiler.internal.test.framework) testRuntimeOnly(projects.core) - - testRuntimeOnly(libs.kotlin.test) + testImplementation(libs.kotlin.test.junit5) testRuntimeOnly(libs.kotlin.script.runtime) testRuntimeOnly(libs.kotlin.annotations.jvm) diff --git a/plugins/symbol-processor/build.gradle.kts b/plugins/symbol-processor/build.gradle.kts index cb3f5dbc9e..8b942e1d67 100644 --- a/plugins/symbol-processor/build.gradle.kts +++ b/plugins/symbol-processor/build.gradle.kts @@ -31,7 +31,7 @@ dependencies { implementation(libs.kotlin.reflect) implementation(libs.h2db) testImplementation(libs.h2db) - testImplementation(libs.kotlin.test) + testImplementation(libs.kotlin.test.junit5) testImplementation(libs.kotlin.compile.testing) testImplementation(libs.kotlin.compile.testing.ksp) testImplementation(libs.ktor.server.netty)