Skip to content

Commit 74fed3e

Browse files
author
Anuraag Agrawal
authored
Make kotlin stdlib dependencies compileOnly since a user will bring them in. (open-telemetry#2793)
1 parent 41c05ed commit 74fed3e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

extensions/kotlin/build.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ dependencies {
2020

2121
api project(':api:all')
2222

23-
api("org.jetbrains.kotlin:kotlin-stdlib-common")
24-
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
23+
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-common")
24+
compileOnly("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
2525

2626
testImplementation project(':sdk:testing')
2727
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
28+
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
2829
}
2930

3031
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {

0 commit comments

Comments
 (0)