Skip to content

Commit 094de15

Browse files
committed
Put kotlin stdlib in api configuration
Kotlin gradle plugin really should apply the bom by default instead of the stdlib...
1 parent 584d67b commit 094de15

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

build-logic/src/main/kotlin/cloud.kotlin-conventions.gradle.kts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,8 @@ kotlin {
1616
}
1717
}
1818

19-
val compileAndTest: Configuration by configurations.creating
20-
listOf(configurations.compileOnly, configurations.testImplementation).forEach { config ->
21-
config {
22-
extendsFrom(compileAndTest)
23-
}
24-
}
25-
2619
dependencies {
27-
compileAndTest(kotlin("stdlib-jdk8"))
20+
api(kotlin("stdlib-jdk8"))
2821
}
2922

3023
tasks {

0 commit comments

Comments
 (0)