Skip to content

Commit

Permalink
Disable metadata publciation for kotlinx-coroutines-bom artifact (Kot…
Browse files Browse the repository at this point in the history
  • Loading branch information
qwwdfsad committed Mar 17, 2020
1 parent ed7c668 commit 1eaa309
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kotlinx-coroutines-bom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,12 @@ publishing {
mavenBom(MavenPublication) {
from components.javaPlatform
}
// Disable metadata publication
it.each { pub ->
pub.moduleDescriptorGenerator = null
tasks.matching { it.name == "generateMetadataFileFor${pub.name.capitalize()}Publication" }.all {
onlyIf { false }
}
}
}
}

0 comments on commit 1eaa309

Please sign in to comment.