Replace kotlin-test project dependencies in the project

Use dependency helper function that chooses whether to take them
from the bootstrap repository or from a configuration of kotlin-test

KT-61969
This commit is contained in:
Ilya Gorbunov
2023-11-08 05:12:24 +01:00
committed by Space Team
parent f07bf70aa7
commit d2aae67e03
44 changed files with 51 additions and 68 deletions
@@ -36,7 +36,7 @@ dependencies {
testApi(project(":compiler:cli"))
testApi(project(":kotlin-android-extensions-runtime"))
testApi(projectTests(":compiler:tests-common"))
testApi(project(":kotlin-test:kotlin-test-jvm"))
testApi(kotlinTest("junit"))
testImplementation(libs.junit4)
robolectricDependency("org.robolectric:android-all:5.0.2_r3-robolectric-r0")
@@ -84,7 +84,7 @@ dependencies {
testImplementation(projectTests(":js:js.tests"))
testImplementation(libs.junit4)
testApi(project(":kotlin-test:kotlin-test-jvm"))
testApi(kotlinTest())
// Dependencies for Kotlin/Native test infra:
if (!kotlinBuildProperties.isInIdeaSync) {
@@ -34,7 +34,7 @@ dependencies {
testApi(project(":compiler:cli"))
testApi(project(":plugins:parcelize:parcelize-runtime"))
testApi(project(":kotlin-android-extensions-runtime"))
testApi(project(":kotlin-test:kotlin-test-jvm"))
testApi(kotlinTest())
testApi(projectTests(":compiler:tests-common-new"))
testApi(projectTests(":compiler:test-infrastructure"))