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
@@ -14,8 +14,7 @@ dependencies {
compileOnly(intellijCore())
testImplementation(libs.junit4)
testCompileOnly(project(":kotlin-test:kotlin-test-jvm"))
testCompileOnly(project(":kotlin-test:kotlin-test-junit"))
testCompileOnly(kotlinTest("junit"))
testApi(projectTests(":compiler:tests-common"))
testApi(project(":compiler:fir:checkers"))
testApi(project(":compiler:fir:checkers:checkers.jvm"))
+1 -2
View File
@@ -21,8 +21,7 @@ dependencies {
compileOnly(intellijCore())
testCompileOnly(project(":kotlin-test:kotlin-test-jvm"))
testCompileOnly(project(":kotlin-test:kotlin-test-junit"))
testCompileOnly(kotlinTest("junit"))
testApi(projectTests(":compiler:test-infrastructure"))
testApi(projectTests(":compiler:test-infrastructure-utils"))
testApi(projectTests(":compiler:tests-compiler-utils"))
@@ -19,8 +19,7 @@ dependencies {
testRuntimeOnly(commonDependency("commons-lang:commons-lang"))
testImplementation(libs.junit4)
testCompileOnly(project(":kotlin-test:kotlin-test-jvm"))
testCompileOnly(project(":kotlin-test:kotlin-test-junit"))
testCompileOnly(kotlinTest("junit"))
testApi(projectTests(":compiler:tests-common"))
testRuntimeOnly(project(":core:descriptors.runtime"))
@@ -26,8 +26,7 @@ dependencies {
testImplementation(projectTests(":compiler:tests-common"))
testImplementation(projectTests(":compiler:fir:raw-fir:psi2fir"))
testCompileOnly(project(":kotlin-test:kotlin-test-jvm"))
testCompileOnly(project(":kotlin-test:kotlin-test-junit"))
testCompileOnly(kotlinTest("junit"))
testRuntimeOnly(project(":core:descriptors.runtime"))
@@ -22,8 +22,7 @@ dependencies {
testImplementation(projectTests(":compiler:tests-common"))
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
testCompileOnly(project(":kotlin-test:kotlin-test-jvm"))
testCompileOnly(project(":kotlin-test:kotlin-test-junit"))
testCompileOnly(kotlinTest("junit"))
testRuntimeOnly(project(":core:descriptors.runtime"))