2a4f3f41aa
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
30 lines
783 B
Kotlin
30 lines
783 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":core:util.runtime"))
|
|
api(project(":compiler:config"))
|
|
api(project(":compiler:config.jvm"))
|
|
api(project(":js:js.config"))
|
|
api(project(":native:kotlin-native-utils"))
|
|
api(project(":compiler:plugin-api"))
|
|
compileOnly(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
|
compileOnly(intellijCore())
|
|
compileOnly(commonDependency("com.google.guava:guava"))
|
|
compileOnly(commonDependency("org.jetbrains.intellij.deps:asm-all"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
optInToExperimentalCompilerApi()
|
|
|
|
tasks.getByName<Jar>("jar") {
|
|
//excludes unused bunch files
|
|
exclude("META-INF/extensions/*.xml.**")
|
|
}
|