Build: Use runtimeOnly instead of deprecated runtime

maven-publish plugin uses `runtimeOnly` for runtime scope instead of
`runtime`
This commit is contained in:
Vyacheslav Gerasimov
2020-04-27 17:42:38 +03:00
parent 8737168d41
commit 4aa3040550
20 changed files with 56 additions and 54 deletions
@@ -7,10 +7,10 @@ description = "Kotlin Compiler Infrastructure for Scripting for embeddable compi
val packedJars by configurations.creating
dependencies {
packedJars(project(":kotlin-scripting-compiler-impl")) { isTransitive = false }
runtime(project(":kotlin-scripting-common"))
runtime(project(":kotlin-scripting-jvm"))
runtime(kotlinStdlib())
runtime(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
runtimeOnly(project(":kotlin-scripting-common"))
runtimeOnly(project(":kotlin-scripting-jvm"))
runtimeOnly(kotlinStdlib())
runtimeOnly(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
}
publish()