[Build] Move JUnit dependencies into the version catalog

The `kotlin-test` dependencies are left untouched as changing them affects publications, thus these versions are independent from the used inside our build
#KTI-1349 In Progress
This commit is contained in:
Alexander.Likhachev
2023-08-16 15:15:22 +02:00
committed by Space Team
parent 9d43945b19
commit 357d12fc8e
62 changed files with 120 additions and 86 deletions
@@ -83,7 +83,7 @@ dependencies {
testImplementation(projectTests(":generators:test-generator"))
testImplementation(projectTests(":js:js.tests"))
testApi(commonDependency("junit:junit"))
testApi(libs.junit4)
testApi(project(":kotlin-test:kotlin-test-jvm"))
// Dependencies for Kotlin/Native test infra:
@@ -147,7 +147,7 @@ dependencies {
testImplementation("org.jetbrains.kotlinx:atomicfu:0.21.0")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.9.1")
testRuntimeOnly(libs.junit.vintage.engine)
}
optInToExperimentalCompilerApi()