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
@@ -32,8 +32,8 @@ dependencies {
nativePlatformVariants.forEach {
embedded(commonDep("net.rubygrapefruit", "native-platform", "-$it"))
}
runtime(project(":kotlin-reflect"))
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) {
runtimeOnly(project(":kotlin-reflect"))
api(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) {
isTransitive = false
}
}