Skip to content

Commit 1eaa309

Browse files
authored
Disable metadata publciation for kotlinx-coroutines-bom artifact (#1870)
1 parent ed7c668 commit 1eaa309

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

kotlinx-coroutines-bom/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,12 @@ publishing {
3434
mavenBom(MavenPublication) {
3535
from components.javaPlatform
3636
}
37+
// Disable metadata publication
38+
it.each { pub ->
39+
pub.moduleDescriptorGenerator = null
40+
tasks.matching { it.name == "generateMetadataFileFor${pub.name.capitalize()}Publication" }.all {
41+
onlyIf { false }
42+
}
43+
}
3744
}
3845
}

0 commit comments

Comments
 (0)