Skip to content

Commit 75de9a4

Browse files
authored
also exclude transitive usages of the stdlib (#82)
1 parent d5bdd14 commit 75de9a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ val createClasspathManifest = tasks.register("createClasspathManifest") {
6464

6565
val kotlinVersion: String by project
6666

67+
configurations.implementation {
68+
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib")
69+
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib-jdk7")
70+
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib-jdk8")
71+
}
72+
6773
dependencies {
6874
implementation(gradleApi())
6975
implementation("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.4.2")

0 commit comments

Comments
 (0)