Make kotlin stdlib dependencies compileOnly since a user will bring them in. (#2793)

This commit is contained in:
Anuraag Agrawal 2021-02-11 03:38:56 +09:00 committed by GitHub
parent 41c05edc58
commit 74fed3ec13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -20,11 +20,12 @@ dependencies {
api project(':api:all')
api("org.jetbrains.kotlin:kotlin-stdlib-common")
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-common")
compileOnly("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
testImplementation project(':sdk:testing')
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {