Skip to content

Commit 90a9faf

Browse files
committed
Update module name for kotlinx-coroutines-core-common artifact
Fixes #1797
1 parent 91e4d77 commit 90a9faf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

kotlinx-coroutines-core/build.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ configurations {
4646
configureKotlinJvmPlatform(kotlinCompilerPluginClasspath)
4747
}
4848

49+
// Update module name for metadata artifact to avoid conflicts
50+
// see https://github.com/Kotlin/kotlinx.coroutines/issues/1797
51+
compileKotlinMetadata {
52+
kotlinOptions {
53+
freeCompilerArgs += ["-module-name", "kotlinx-coroutines-core-common"]
54+
}
55+
}
56+
4957
kotlin.sourceSets {
5058
jvmTest.dependencies {
5159
api "org.jetbrains.kotlinx:lincheck:$lincheck_version"

0 commit comments

Comments
 (0)