diff --git a/analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts b/analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts index a38a11bfe0f..ed59875b1f1 100644 --- a/analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts +++ b/analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts @@ -12,7 +12,6 @@ dependencies { implementation(project(":analysis:analysis-api")) implementation(project(":kotlin-reflect")) - implementation(project(":kotlin-reflect-api")) /* We do not need guava in the generator, but because of a bug in the IJ project importing, we need to have a dependency on intellijCore diff --git a/analysis/low-level-api-fir/build.gradle.kts b/analysis/low-level-api-fir/build.gradle.kts index 6cfe77934f4..25719b04e62 100644 --- a/analysis/low-level-api-fir/build.gradle.kts +++ b/analysis/low-level-api-fir/build.gradle.kts @@ -41,7 +41,6 @@ dependencies { testApi(projectTests(":analysis:analysis-api-impl-base")) testApi(project(":kotlin-test:kotlin-test-junit")) testApiJUnit5() - testApi(project(":kotlin-reflect")) testImplementation(project(":analysis:symbol-light-classes")) testRuntimeOnly(project(":core:descriptors.runtime")) diff --git a/compiler/android-tests/build.gradle.kts b/compiler/android-tests/build.gradle.kts index 40e8f3395f2..f365d2fcb6a 100644 --- a/compiler/android-tests/build.gradle.kts +++ b/compiler/android-tests/build.gradle.kts @@ -16,7 +16,6 @@ dependencies { testApi(project(":compiler:frontend.java")) testApi(kotlinStdlib()) - testApi(project(":kotlin-reflect")) testApi(projectTests(":compiler:tests-common")) testApi(commonDependency("junit:junit")) testApi(projectTests(":compiler:test-infrastructure")) diff --git a/compiler/build.gradle.kts b/compiler/build.gradle.kts index 3656868f665..4d2ce39f6bd 100644 --- a/compiler/build.gradle.kts +++ b/compiler/build.gradle.kts @@ -30,7 +30,6 @@ dependencies { testApi(project(":compiler:ir.tree")) // used for deepCopyWithSymbols call that is removed by proguard from the compiler TODO: make it more straightforward testApi(project(":kotlin-scripting-compiler")) testApi(project(":kotlin-script-util")) - testCompileOnly(project(":kotlin-reflect-api")) otherCompilerModules.forEach { testCompileOnly(project(it)) diff --git a/compiler/daemon/daemon-client-new/build.gradle.kts b/compiler/daemon/daemon-client-new/build.gradle.kts index 9df41c58d4e..ff7c7a22ee5 100644 --- a/compiler/daemon/daemon-client-new/build.gradle.kts +++ b/compiler/daemon/daemon-client-new/build.gradle.kts @@ -24,7 +24,6 @@ dependencies { compileOnly(project(":compiler:util")) compileOnly(project(":compiler:cli-common")) compileOnly(project(":daemon-common-new")) - compileOnly(project(":kotlin-reflect-api")) compileOnly(project(":kotlin-daemon-client")) compileOnly(project(":js:js.frontend")) compileOnly(project(":daemon-common")) { isTransitive = false } diff --git a/compiler/daemon/daemon-client/build.gradle.kts b/compiler/daemon/daemon-client/build.gradle.kts index fc5d993027e..b27039cb18a 100644 --- a/compiler/daemon/daemon-client/build.gradle.kts +++ b/compiler/daemon/daemon-client/build.gradle.kts @@ -22,7 +22,6 @@ dependencies { compileOnly(project(":compiler:util")) compileOnly(project(":compiler:cli-common")) compileOnly(project(":daemon-common")) - compileOnly(project(":kotlin-reflect-api")) compileOnly(project(":js:js.frontend")) compileOnly(commonDependency("net.rubygrapefruit", "native-platform")) @@ -31,7 +30,6 @@ dependencies { nativePlatformVariants.forEach { embedded(commonDependency("net.rubygrapefruit", "native-platform", "-$it")) } - runtimeOnly(project(":kotlin-reflect")) api(commonDependency("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false } diff --git a/compiler/fir/analysis-tests/build.gradle.kts b/compiler/fir/analysis-tests/build.gradle.kts index 4fa5007f034..ce108ee5757 100644 --- a/compiler/fir/analysis-tests/build.gradle.kts +++ b/compiler/fir/analysis-tests/build.gradle.kts @@ -27,8 +27,6 @@ dependencies { testApiJUnit5() - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testRuntimeOnly(project(":compiler:fir:fir2ir:jvm-backend")) diff --git a/compiler/fir/checkers/checkers-component-generator/build.gradle.kts b/compiler/fir/checkers/checkers-component-generator/build.gradle.kts index b1e2a113a35..78cff85696d 100644 --- a/compiler/fir/checkers/checkers-component-generator/build.gradle.kts +++ b/compiler/fir/checkers/checkers-component-generator/build.gradle.kts @@ -10,7 +10,6 @@ dependencies { implementation(project(":compiler:fir:tree:tree-generator")) implementation(project(":compiler:resolution.common")) implementation(project(":kotlin-reflect")) - implementation(project(":kotlin-reflect-api")) /* We do not need guava in the generator, but because of a bug in the IJ project importing, we need to have a dependency on intellijCore diff --git a/compiler/fir/checkers/checkers.js/build.gradle.kts b/compiler/fir/checkers/checkers.js/build.gradle.kts index e4e1f8e1557..88fdbdb5b2e 100644 --- a/compiler/fir/checkers/checkers.js/build.gradle.kts +++ b/compiler/fir/checkers/checkers.js/build.gradle.kts @@ -15,7 +15,6 @@ dependencies { implementation(project(":compiler:frontend")) implementation(project(":compiler:psi")) - compileOnly(project(":kotlin-reflect-api")) compileOnly(intellijCore()) } diff --git a/compiler/fir/checkers/checkers.jvm/build.gradle.kts b/compiler/fir/checkers/checkers.jvm/build.gradle.kts index 795d3e7042c..adf47b374f5 100644 --- a/compiler/fir/checkers/checkers.jvm/build.gradle.kts +++ b/compiler/fir/checkers/checkers.jvm/build.gradle.kts @@ -16,7 +16,6 @@ dependencies { implementation(project(":compiler:frontend")) implementation(project(":compiler:psi")) - compileOnly(project(":kotlin-reflect-api")) compileOnly(intellijCore()) } diff --git a/compiler/fir/entrypoint/build.gradle.kts b/compiler/fir/entrypoint/build.gradle.kts index 4a14cd99220..83f52b5a23a 100644 --- a/compiler/fir/entrypoint/build.gradle.kts +++ b/compiler/fir/entrypoint/build.gradle.kts @@ -25,7 +25,6 @@ dependencies { implementation(project(":compiler:ir.serialization.jvm")) implementation(project(":compiler:ir.tree")) - compileOnly(project(":kotlin-reflect-api")) compileOnly(intellijCore()) } diff --git a/compiler/fir/fir2ir/build.gradle.kts b/compiler/fir/fir2ir/build.gradle.kts index f70f9c796a6..50c088b3670 100644 --- a/compiler/fir/fir2ir/build.gradle.kts +++ b/compiler/fir/fir2ir/build.gradle.kts @@ -31,8 +31,6 @@ dependencies { testApiJUnit5() - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:deserialization")) testRuntimeOnly(project(":core:descriptors.runtime")) testRuntimeOnly(project(":core:descriptors.jvm")) diff --git a/compiler/fir/modularized-tests/build.gradle.kts b/compiler/fir/modularized-tests/build.gradle.kts index ccc66c99324..6076556734b 100644 --- a/compiler/fir/modularized-tests/build.gradle.kts +++ b/compiler/fir/modularized-tests/build.gradle.kts @@ -23,8 +23,6 @@ dependencies { testCompileOnly(project(":kotlin-test:kotlin-test-junit")) testApi(projectTests(":compiler:tests-common")) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testApi(projectTests(":compiler:fir:analysis-tests:legacy-fir-tests")) testApi(project(":compiler:fir:resolve")) diff --git a/compiler/fir/providers/build.gradle.kts b/compiler/fir/providers/build.gradle.kts index 1a8ae2722da..8d08c8f8d74 100644 --- a/compiler/fir/providers/build.gradle.kts +++ b/compiler/fir/providers/build.gradle.kts @@ -10,7 +10,6 @@ dependencies { api(project(":compiler:fir:tree")) implementation(project(":core:util.runtime")) - compileOnly(project(":kotlin-reflect-api")) compileOnly(commonDependency("com.google.guava:guava")) } diff --git a/compiler/fir/raw-fir/light-tree2fir/build.gradle.kts b/compiler/fir/raw-fir/light-tree2fir/build.gradle.kts index d2d13aee439..756501cff50 100644 --- a/compiler/fir/raw-fir/light-tree2fir/build.gradle.kts +++ b/compiler/fir/raw-fir/light-tree2fir/build.gradle.kts @@ -28,9 +28,7 @@ dependencies { testCompileOnly(project(":kotlin-test:kotlin-test-jvm")) testCompileOnly(project(":kotlin-test:kotlin-test-junit")) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testCompileOnly(intellijCore()) diff --git a/compiler/fir/resolve/build.gradle.kts b/compiler/fir/resolve/build.gradle.kts index 2deaff83a50..ccf27bcf0ed 100644 --- a/compiler/fir/resolve/build.gradle.kts +++ b/compiler/fir/resolve/build.gradle.kts @@ -8,7 +8,6 @@ dependencies { api(project(":compiler:fir:semantics")) implementation(project(":core:util.runtime")) - compileOnly(project(":kotlin-reflect-api")) compileOnly(commonDependency("com.google.guava:guava")) } diff --git a/compiler/fir/semantics/build.gradle.kts b/compiler/fir/semantics/build.gradle.kts index a58ef43ab69..02ad7de9f9f 100644 --- a/compiler/fir/semantics/build.gradle.kts +++ b/compiler/fir/semantics/build.gradle.kts @@ -7,7 +7,6 @@ dependencies { api(project(":compiler:fir:providers")) implementation(project(":core:util.runtime")) - compileOnly(project(":kotlin-reflect-api")) compileOnly(commonDependency("com.google.guava:guava")) } diff --git a/compiler/ir/serialization.js/build.gradle.kts b/compiler/ir/serialization.js/build.gradle.kts index 018fad9123a..9d9d6d3fb31 100644 --- a/compiler/ir/serialization.js/build.gradle.kts +++ b/compiler/ir/serialization.js/build.gradle.kts @@ -9,7 +9,6 @@ dependencies { api(project(":js:js.frontend")) implementation(project(":compiler:ir.backend.common")) - compileOnly(project(":kotlin-reflect-api")) compileOnly(intellijCore()) } diff --git a/compiler/test-infrastructure/build.gradle.kts b/compiler/test-infrastructure/build.gradle.kts index b08093f797a..702bf9b55a0 100644 --- a/compiler/test-infrastructure/build.gradle.kts +++ b/compiler/test-infrastructure/build.gradle.kts @@ -8,8 +8,6 @@ dependencies { testApi(project(":compiler:cli")) testApi(intellijCore()) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testImplementation(projectTests(":compiler:test-infrastructure-utils")) diff --git a/compiler/tests-common-new/build.gradle.kts b/compiler/tests-common-new/build.gradle.kts index 0bb42ff0bd6..7e1c3649351 100644 --- a/compiler/tests-common-new/build.gradle.kts +++ b/compiler/tests-common-new/build.gradle.kts @@ -13,8 +13,6 @@ dependencies { testImplementation(project(":compiler:backend.jvm.lower")) testImplementation(intellijCore()) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testImplementation(projectTests(":generators:test-generator")) diff --git a/compiler/tests-different-jdk/build.gradle.kts b/compiler/tests-different-jdk/build.gradle.kts index 801200fdf7e..34f39caf702 100644 --- a/compiler/tests-different-jdk/build.gradle.kts +++ b/compiler/tests-different-jdk/build.gradle.kts @@ -13,7 +13,6 @@ dependencies { testApiJUnit5(vintageEngine = true, runner = true, suiteApi = true) testImplementation(intellijCore()) - testRuntimeOnly(project(":kotlin-reflect")) } sourceSets { diff --git a/compiler/tests-for-compiler-generator/build.gradle.kts b/compiler/tests-for-compiler-generator/build.gradle.kts index 1f71a1890f7..232c6207250 100644 --- a/compiler/tests-for-compiler-generator/build.gradle.kts +++ b/compiler/tests-for-compiler-generator/build.gradle.kts @@ -18,8 +18,6 @@ dependencies { testImplementation(projectTests(":compiler:visualizer")) testImplementation(projectTests(":js:js.tests")) testImplementation(projectTests(":generators:test-generator")) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) } sourceSets { diff --git a/compiler/tests-java8/build.gradle.kts b/compiler/tests-java8/build.gradle.kts index 8a9192f41c2..7cf9bb3aafd 100644 --- a/compiler/tests-java8/build.gradle.kts +++ b/compiler/tests-java8/build.gradle.kts @@ -8,12 +8,7 @@ dependencies { testApi(projectTests(":compiler:tests-common")) testImplementation(intellijCore()) testApi(projectTests(":generators:test-generator")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(toolsJar()) - - if (kotlinBuildProperties.isInJpsBuildIdeaSync) { - testRuntimeOnly(files("${rootProject.projectDir}/dist/kotlinc/lib/kotlin-reflect.jar")) - } } sourceSets { diff --git a/compiler/tests-spec/build.gradle.kts b/compiler/tests-spec/build.gradle.kts index e19e6ba881c..ece3a6c3eee 100644 --- a/compiler/tests-spec/build.gradle.kts +++ b/compiler/tests-spec/build.gradle.kts @@ -15,11 +15,6 @@ dependencies { api("org.jsoup:jsoup:1.14.2") - if (kotlinBuildProperties.isInJpsBuildIdeaSync) { - testRuntimeOnly(files("${rootProject.projectDir}/dist/kotlinc/lib/kotlin-reflect.jar")) - } - - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testApiJUnit5(vintageEngine = true) diff --git a/generators/build.gradle.kts b/generators/build.gradle.kts index 4e408de40aa..5b228f4c325 100644 --- a/generators/build.gradle.kts +++ b/generators/build.gradle.kts @@ -71,7 +71,6 @@ dependencies { testApi(projectTests(":plugins:fir-plugin-prototype")) testApi(projectTests(":plugins:fir-plugin-prototype:fir-plugin-ic-test")) testApi(projectTests(":generators:test-generator")) - testCompileOnly(project(":kotlin-reflect-api")) testImplementation(project(":kotlin-reflect")) testImplementation(projectTests(":compiler:test-infrastructure-utils")) testImplementation(projectTests(":compiler:test-infrastructure")) diff --git a/jps/jps-common/build.gradle.kts b/jps/jps-common/build.gradle.kts index 8986166a6c8..58675c54c4c 100644 --- a/jps/jps-common/build.gradle.kts +++ b/jps/jps-common/build.gradle.kts @@ -22,7 +22,6 @@ dependencies { testImplementation(project(":compiler:cli-common")) testImplementation(jpsModelSerialization()) - testImplementation(project(":kotlin-reflect")) testImplementation(commonDependency("junit:junit")) } diff --git a/jps/jps-plugin/build.gradle.kts b/jps/jps-plugin/build.gradle.kts index 1762e35c074..2a0069eed00 100644 --- a/jps/jps-plugin/build.gradle.kts +++ b/jps/jps-plugin/build.gradle.kts @@ -53,7 +53,6 @@ dependencies { testRuntimeOnly("com.jetbrains.intellij.platform:util-ex:$intellijVersion") { isTransitive = false } testRuntimeOnly("com.google.code.gson:gson:2.8.9") - testCompileOnly(project(":kotlin-reflect-api")) testImplementation(projectTests(":compiler:incremental-compilation-impl")) testCompileOnly(jpsBuild()) testImplementation(devKitJps()) { diff --git a/js/js.tests/build.gradle.kts b/js/js.tests/build.gradle.kts index 1bd2481aa5a..ba5b28b9dcf 100644 --- a/js/js.tests/build.gradle.kts +++ b/js/js.tests/build.gradle.kts @@ -59,8 +59,6 @@ dependencies { testApi(project(":compiler:cli")) testApi(project(":compiler:util")) - testRuntimeOnly(project(":kotlin-reflect")) - testRuntimeOnly(commonDependency("org.jetbrains.intellij.deps:trove4j")) testRuntimeOnly(commonDependency("com.google.guava:guava")) testRuntimeOnly(commonDependency("org.jetbrains.intellij.deps:jdom")) @@ -70,7 +68,6 @@ dependencies { if (!kotlinBuildProperties.isInJpsBuildIdeaSync) { testJsRuntime(project(":kotlin-test:kotlin-test-js")) // to be sure that kotlin-test-js built before tests runned } - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":kotlin-preloader")) // it's required for ant tests testRuntimeOnly(project(":compiler:backend-common")) testRuntimeOnly(commonDependency("org.fusesource.jansi", "jansi")) diff --git a/libraries/examples/kotlin-jsr223-daemon-local-eval-example/build.gradle.kts b/libraries/examples/kotlin-jsr223-daemon-local-eval-example/build.gradle.kts index ed911b9c672..013a1befd9f 100644 --- a/libraries/examples/kotlin-jsr223-daemon-local-eval-example/build.gradle.kts +++ b/libraries/examples/kotlin-jsr223-daemon-local-eval-example/build.gradle.kts @@ -27,7 +27,6 @@ dependencies { testApi(project(":kotlin-compiler-embeddable")) testApi(commonDependency("junit:junit")) testApi(project(":kotlin-test:kotlin-test-junit")) - testRuntimeOnly(project(":kotlin-reflect")) compilerClasspath(project(":kotlin-reflect")) compilerClasspath(kotlinStdlib()) compilerClasspath(commonDependency("org.jetbrains.intellij.deps", "trove4j")) diff --git a/libraries/examples/kotlin-jsr223-local-example/build.gradle.kts b/libraries/examples/kotlin-jsr223-local-example/build.gradle.kts index f864dae19bc..fbb7e51607c 100644 --- a/libraries/examples/kotlin-jsr223-local-example/build.gradle.kts +++ b/libraries/examples/kotlin-jsr223-local-example/build.gradle.kts @@ -19,7 +19,6 @@ dependencies { runtimeOnly(project(":kotlin-scripting-compiler-embeddable")) testApi(project(":kotlin-test:kotlin-test-junit")) testApi(commonDependency("junit:junit")) - testRuntimeOnly(project(":kotlin-reflect")) compileOnly(project(":compiler:cli-common")) // TODO: fix import (workaround for jps build) testCompileOnly(project(":core:util.runtime")) // TODO: fix import (workaround for jps build) testCompileOnly(project(":daemon-common")) // TODO: fix import (workaround for jps build) diff --git a/libraries/examples/scripting/jvm-embeddable-host/build.gradle.kts b/libraries/examples/scripting/jvm-embeddable-host/build.gradle.kts index 7474f76171d..09ec3499259 100644 --- a/libraries/examples/scripting/jvm-embeddable-host/build.gradle.kts +++ b/libraries/examples/scripting/jvm-embeddable-host/build.gradle.kts @@ -9,7 +9,6 @@ dependencies { testRuntimeOnly(project(":kotlin-compiler-embeddable")) testRuntimeOnly(project(":kotlin-scripting-compiler-embeddable")) testRuntimeOnly(project(":kotlin-scripting-jvm-host")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(commonDependency("com.google.guava:guava")) testApi(commonDependency("junit")) } diff --git a/libraries/examples/scripting/jvm-maven-deps/host/build.gradle.kts b/libraries/examples/scripting/jvm-maven-deps/host/build.gradle.kts index beb35466fbc..a9fb8d590e5 100644 --- a/libraries/examples/scripting/jvm-maven-deps/host/build.gradle.kts +++ b/libraries/examples/scripting/jvm-maven-deps/host/build.gradle.kts @@ -7,11 +7,9 @@ dependencies { api(project(":examples:scripting-jvm-maven-deps")) api(project(":kotlin-scripting-jvm-host-unshaded")) api(kotlinStdlib()) - compileOnly(project(":kotlin-reflect-api")) compileOnly(project(":compiler:util")) testRuntimeOnly(project(":kotlin-compiler")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":kotlin-scripting-compiler")) testApi(commonDependency("junit")) diff --git a/libraries/examples/scripting/jvm-simple-script/host/build.gradle.kts b/libraries/examples/scripting/jvm-simple-script/host/build.gradle.kts index df6cccf603a..3106ee0339b 100644 --- a/libraries/examples/scripting/jvm-simple-script/host/build.gradle.kts +++ b/libraries/examples/scripting/jvm-simple-script/host/build.gradle.kts @@ -9,7 +9,6 @@ dependencies { api(project(":kotlin-script-util")) testRuntimeOnly(project(":kotlin-compiler")) testRuntimeOnly(project(":kotlin-scripting-compiler")) - testRuntimeOnly(project(":kotlin-reflect")) testApi(commonDependency("junit")) } diff --git a/libraries/scripting/jsr223-test/build.gradle.kts b/libraries/scripting/jsr223-test/build.gradle.kts index 67985438cd3..918f876c6e8 100644 --- a/libraries/scripting/jsr223-test/build.gradle.kts +++ b/libraries/scripting/jsr223-test/build.gradle.kts @@ -27,7 +27,6 @@ dependencies { testRuntimeOnly(project(":kotlin-scripting-jsr223-unshaded")) testRuntimeOnly(project(":kotlin-compiler")) - testRuntimeOnly(project(":kotlin-reflect")) embeddableTestRuntime(commonDependency("junit")) embeddableTestRuntime(project(":kotlin-scripting-jsr223")) diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts b/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts index 4f9edc08b22..0c467c5a342 100644 --- a/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts +++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts @@ -64,7 +64,6 @@ dependencies { testImplementation(project(path = ":examples:annotation-processor-example")) testImplementation(kotlinStdlib("jdk8")) - testImplementation(project(":kotlin-reflect")) testImplementation(project(":kotlin-android-extensions")) testImplementation(project(":kotlin-parcelize-compiler")) testImplementation(commonDependency("org.jetbrains.intellij.deps", "trove4j")) diff --git a/libraries/tools/kotlin-gradle-plugin/build.gradle.kts b/libraries/tools/kotlin-gradle-plugin/build.gradle.kts index df7ff3a0399..c147c3466fd 100644 --- a/libraries/tools/kotlin-gradle-plugin/build.gradle.kts +++ b/libraries/tools/kotlin-gradle-plugin/build.gradle.kts @@ -39,7 +39,6 @@ dependencies { commonCompileOnly(project(":compiler:incremental-compilation-impl")) commonCompileOnly(project(":daemon-common")) commonCompileOnly(project(":native:kotlin-native-utils")) - commonCompileOnly(project(":kotlin-reflect-api")) commonCompileOnly(project(":kotlin-android-extensions")) commonCompileOnly(project(":kotlin-build-common")) commonCompileOnly(project(":kotlin-compiler-runner")) @@ -53,7 +52,6 @@ dependencies { commonCompileOnly("com.android.tools.build:builder:3.6.4") commonCompileOnly("com.android.tools.build:builder-model:3.6.4") commonCompileOnly("org.codehaus.groovy:groovy-all:2.4.12") - commonCompileOnly(project(":kotlin-reflect")) commonCompileOnly(intellijCore()) commonCompileOnly(commonDependency("org.jetbrains.teamcity:serviceMessages")) commonCompileOnly("com.gradle:gradle-enterprise-gradle-plugin:3.9") @@ -101,7 +99,6 @@ dependencies { } testCompileOnly(project(":compiler")) - testCompileOnly(project(":kotlin-reflect-api")) testCompileOnly(project(":kotlin-annotation-processing")) testCompileOnly(project(":kotlin-annotation-processing-gradle")) diff --git a/libraries/tools/kotlin-script-util/build.gradle.kts b/libraries/tools/kotlin-script-util/build.gradle.kts index ba7e11e978e..40140c44285 100644 --- a/libraries/tools/kotlin-script-util/build.gradle.kts +++ b/libraries/tools/kotlin-script-util/build.gradle.kts @@ -20,7 +20,6 @@ dependencies { compileOnly("org.apache.maven:maven-core:3.0.3") testCompileOnly(project(":compiler:cli")) testApi(project(":kotlin-test:kotlin-test-junit")) - testImplementation(project(":kotlin-reflect")) testApi(commonDependency("junit:junit")) testApi(project(":kotlin-scripting-compiler")) testRuntimeOnly(project(":kotlin-compiler")) diff --git a/native/utils/build.gradle.kts b/native/utils/build.gradle.kts index 25307987cab..3c3372f688d 100644 --- a/native/utils/build.gradle.kts +++ b/native/utils/build.gradle.kts @@ -10,7 +10,6 @@ dependencies { api(project(":kotlin-util-io")) testImplementation(commonDependency("junit:junit")) - testCompileOnly(project(":kotlin-reflect-api")) testImplementation(project(":kotlin-reflect")) } diff --git a/plugins/allopen/build.gradle.kts b/plugins/allopen/build.gradle.kts index 3583f093482..1e60746a3cc 100644 --- a/plugins/allopen/build.gradle.kts +++ b/plugins/allopen/build.gradle.kts @@ -28,8 +28,6 @@ dependencies { testImplementation(project(":compiler:fir:checkers")) testRuntimeOnly(project(":compiler:fir:fir-serialization")) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) } diff --git a/plugins/atomicfu/atomicfu-compiler/build.gradle.kts b/plugins/atomicfu/atomicfu-compiler/build.gradle.kts index 717f53bc887..122f4af236a 100644 --- a/plugins/atomicfu/atomicfu-compiler/build.gradle.kts +++ b/plugins/atomicfu/atomicfu-compiler/build.gradle.kts @@ -69,7 +69,6 @@ dependencies { testApi(project(":kotlin-test:kotlin-test-jvm")) testRuntimeOnly(kotlinStdlib()) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":kotlin-preloader")) // it's required for ant tests testRuntimeOnly(project(":compiler:backend-common")) testRuntimeOnly(commonDependency("org.fusesource.jansi", "jansi")) diff --git a/plugins/fir-plugin-prototype/build.gradle.kts b/plugins/fir-plugin-prototype/build.gradle.kts index df22e8a5eae..5ae244adf1f 100644 --- a/plugins/fir-plugin-prototype/build.gradle.kts +++ b/plugins/fir-plugin-prototype/build.gradle.kts @@ -16,7 +16,6 @@ dependencies { compileOnly(project(":compiler:fir:entrypoint")) compileOnly(project(":compiler:plugin-api")) compileOnly(intellijCore()) - compileOnly(project(":kotlin-reflect-api")) testApiJUnit5() testApi(projectTests(":compiler:tests-common-new")) @@ -26,8 +25,6 @@ dependencies { testApi(project(":compiler:fir:checkers:checkers.jvm")) testApi(project(":compiler:fir:checkers:checkers.js")) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testRuntimeOnly(project(":compiler:fir:fir-serialization")) diff --git a/plugins/fir-plugin-prototype/fir-plugin-ic-test/build.gradle.kts b/plugins/fir-plugin-prototype/fir-plugin-ic-test/build.gradle.kts index b2e4f8a8901..6fc426a64cf 100644 --- a/plugins/fir-plugin-prototype/fir-plugin-ic-test/build.gradle.kts +++ b/plugins/fir-plugin-prototype/fir-plugin-ic-test/build.gradle.kts @@ -11,9 +11,7 @@ dependencies { testApi(projectTests(":compiler:incremental-compilation-impl")) testCompileOnly(intellijCore()) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testRuntimeOnly(project(":compiler:fir:fir-serialization")) diff --git a/plugins/lombok/build.gradle.kts b/plugins/lombok/build.gradle.kts index dfbe45e84e2..f5d444d048c 100644 --- a/plugins/lombok/build.gradle.kts +++ b/plugins/lombok/build.gradle.kts @@ -34,8 +34,6 @@ dependencies { testApi(project(":compiler:fir:checkers:checkers.jvm")) testRuntimeOnly(project(":compiler:fir:fir-serialization")) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testApi(commonDependency("junit:junit")) diff --git a/plugins/noarg/build.gradle.kts b/plugins/noarg/build.gradle.kts index a512758495e..480dd70203a 100644 --- a/plugins/noarg/build.gradle.kts +++ b/plugins/noarg/build.gradle.kts @@ -21,8 +21,6 @@ dependencies { testApi(projectTests(":compiler:test-infrastructure")) testApi(projectTests(":compiler:test-infrastructure-utils")) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testRuntimeOnly(project(":compiler:fir:fir-serialization")) diff --git a/plugins/parcelize/parcelize-compiler/build.gradle.kts b/plugins/parcelize/parcelize-compiler/build.gradle.kts index bb369a1d95c..41df84f29fb 100644 --- a/plugins/parcelize/parcelize-compiler/build.gradle.kts +++ b/plugins/parcelize/parcelize-compiler/build.gradle.kts @@ -43,8 +43,6 @@ dependencies { testApi(project(":compiler:fir:checkers:checkers.js")) testRuntimeOnly(project(":compiler:fir:fir-serialization")) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testApi(commonDependency("junit:junit")) diff --git a/plugins/parcelize/parcelize-compiler/parcelize.k2/build.gradle.kts b/plugins/parcelize/parcelize-compiler/parcelize.k2/build.gradle.kts index 592a310a7e1..add6f75aeb2 100644 --- a/plugins/parcelize/parcelize-compiler/parcelize.k2/build.gradle.kts +++ b/plugins/parcelize/parcelize-compiler/parcelize.k2/build.gradle.kts @@ -17,7 +17,6 @@ dependencies { compileOnly(project(":compiler:ir.backend.common")) compileOnly(project(":compiler:ir.tree")) compileOnly(project(":compiler:fir:entrypoint")) - compileOnly(project(":kotlin-reflect-api")) } sourceSets { diff --git a/plugins/sam-with-receiver/build.gradle.kts b/plugins/sam-with-receiver/build.gradle.kts index 67c8255beca..4fa7c7ee1fa 100644 --- a/plugins/sam-with-receiver/build.gradle.kts +++ b/plugins/sam-with-receiver/build.gradle.kts @@ -26,8 +26,6 @@ dependencies { testImplementation(projectTests(":compiler:tests-common")) testImplementation(commonDependency("junit:junit")) - testCompileOnly(project(":kotlin-reflect-api")) - testRuntimeOnly(project(":kotlin-reflect")) testRuntimeOnly(project(":core:descriptors.runtime")) testRuntimeOnly(project(":compiler:fir:fir-serialization")) diff --git a/plugins/scripting/scripting-compiler-js/build.gradle.kts b/plugins/scripting/scripting-compiler-js/build.gradle.kts index 9614cef98c7..a5904a2aacb 100644 --- a/plugins/scripting/scripting-compiler-js/build.gradle.kts +++ b/plugins/scripting/scripting-compiler-js/build.gradle.kts @@ -13,7 +13,6 @@ dependencies { compileOnly(project(":compiler:backend.js")) compileOnly(project(":core:descriptors.runtime")) compileOnly(project(":compiler:ir.tree")) - compileOnly(project(":kotlin-reflect-api")) api(project(":kotlin-scripting-common")) api(project(":kotlin-scripting-js")) api(project(":kotlin-util-klib"))