Skip to content

Commit cce14d9

Browse files
committed
Make sure that the compat module uses the correct artifact id.
1 parent c2bb09c commit cce14d9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

core/compat/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,12 @@ afterEvaluate {
100100
addNativeTargets()
101101

102102
doPublish("compat")
103+
104+
publishing {
105+
publications.withType<MavenPublication> {
106+
if ("coreCompat" in artifactId) {
107+
artifactId = artifactId.replace("coreCompat", "core-compat")
108+
}
109+
}
110+
111+
}

0 commit comments

Comments
 (0)