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
35 lines
897 B
Kotlin
35 lines
897 B
Kotlin
|
|
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
publish()
|
|
|
|
dependencies {
|
|
api(project(":kotlin-script-runtime"))
|
|
api(kotlinStdlib())
|
|
api(project(":kotlin-scripting-common"))
|
|
api(project(":kotlin-scripting-jvm"))
|
|
api(project(":kotlin-scripting-jvm-host-unshaded"))
|
|
api(project(":kotlin-scripting-compiler"))
|
|
compileOnly(project(":compiler:cli-common"))
|
|
compileOnly(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
|
compileOnly(intellijCore())
|
|
publishedRuntime(project(":kotlin-compiler"))
|
|
publishedRuntime(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
|
|
kotlinOptions.freeCompilerArgs += "-Xallow-kotlin-package"
|
|
}
|
|
|
|
standardPublicJars()
|
|
|
|
projectTest(parallel = true)
|
|
|