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
+4 -4
View File
@@ -8,11 +8,11 @@ plugins {
val testCompilationClasspath by configurations.creating
dependencies {
runtime(kotlinStdlib())
runtime(project(":kotlin-script-runtime"))
runtime(project(":kotlin-reflect"))
runtimeOnly(kotlinStdlib())
runtimeOnly(project(":kotlin-script-runtime"))
runtimeOnly(project(":kotlin-reflect"))
runtime(project(":kotlin-daemon-embeddable"))
runtime(commonDep("org.jetbrains.intellij.deps", "trove4j"))
runtimeOnly(commonDep("org.jetbrains.intellij.deps", "trove4j"))
testCompile(commonDep("junit:junit"))
testCompile(project(":kotlin-test:kotlin-test-junit"))
testCompilationClasspath(kotlinStdlib())