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:
@@ -66,7 +66,7 @@ native {
|
||||
dependencies {
|
||||
implementation(project(":kotlin-native:utilities:basic-utils"))
|
||||
implementation(project(":kotlin-stdlib"))
|
||||
implementation(project(":kotlin-reflect"))
|
||||
implementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
||||
}
|
||||
|
||||
sourceSets.main.get().java.srcDir("src/jvm/kotlin")
|
||||
|
||||
@@ -107,7 +107,9 @@ dependencies {
|
||||
trove4j_jar "org.jetbrains.intellij.deps:trove4j:1.0.20181211@jar"
|
||||
kotlin_compiler_jar project(kotlinCompilerModule)
|
||||
kotlin_stdlib_jar kotlinStdLibModule
|
||||
kotlin_reflect_jar project(":kotlin-reflect")
|
||||
use(DependenciesKt) {
|
||||
kotlin_reflect_jar commonDependency("org.jetbrains.kotlin:kotlin-reflect")
|
||||
}
|
||||
kotlin_script_runtime_jar project(":kotlin-script-runtime")
|
||||
|
||||
compilerApi project(":kotlin-native:utilities:basic-utils")
|
||||
|
||||
@@ -60,7 +60,7 @@ dependencies {
|
||||
commonApi(project(":kotlin-gradle-plugin"))
|
||||
commonApi(project(":kotlin-gradle-plugin-api"))
|
||||
commonApi(project(":kotlin-gradle-plugin-model"))
|
||||
implementation(project(":kotlin-reflect"))
|
||||
implementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
||||
implementation("org.jetbrains.kotlin:kotlin-build-gradle-plugin:${kotlinBuildProperties.buildGradlePluginVersion}")
|
||||
|
||||
implementation("com.ullink.slack:simpleslackapi:$slackApiVersion") {
|
||||
|
||||
@@ -52,7 +52,7 @@ dependencies {
|
||||
kotlinCompilerClasspath("org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlinVersion")
|
||||
|
||||
implementation(kotlinStdlib())
|
||||
implementation(project(":kotlin-reflect"))
|
||||
implementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
||||
api("org.jetbrains.kotlin:kotlin-native-utils:$kotlinVersion")
|
||||
api("org.jetbrains.kotlin:kotlin-util-klib:$kotlinVersion")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user