2/5 Replace source dependency on kotlin-reflect with binary dependency

Review: https://jetbrains.team/p/kt/reviews/6753

Meaningful semantic change was splitted into 5 commits to simplify the
change review. Sinle commit would be too big.

Why replace source to binary: to get rid of kotlin-reflect in Kotlin
plugin artifact KTIJ-22276

Note: Kotlin Maven artifacts (./gradlew publish) changed their
dependency on kotlin-reflect
This commit is contained in:
Nikita Bobko
2022-07-19 14:52:49 +02:00
parent 276923834f
commit 2a4f3f41aa
41 changed files with 52 additions and 49 deletions
@@ -11,7 +11,7 @@ dependencies {
implementation(project(":compiler:fir:checkers:checkers-component-generator"))
implementation(project(":analysis:analysis-api"))
implementation(project(":kotlin-reflect"))
implementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
/*
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
@@ -24,7 +24,7 @@ dependencies {
testApi(project(":analysis:decompiled:decompiler-to-file-stubs"))
testApi(project(":analysis:decompiled:decompiler-to-psi"))
testApi(projectTests(":analysis:analysis-test-framework"))
testImplementation(project(":kotlin-reflect"))
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
testImplementation(toolsJar())
}
+1 -1
View File
@@ -9,7 +9,7 @@ kotlin {
dependencies {
implementation(kotlinxCollectionsImmutable())
compileOnly(project(":kotlin-reflect"))
compileOnly(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
compileOnly(project(":compiler:psi"))
compileOnly(project(":compiler:frontend"))