We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fc234c commit 96c5a49Copy full SHA for 96c5a49
kotlinx-coroutines-bom/build.gradle
@@ -10,8 +10,14 @@ def name = project.name
10
dependencyManagement {
11
dependencies {
12
rootProject.subprojects.each {
13
- if (!ext.unpublished.contains(it.name) && it.name != name) {
14
- dependency(group: it.group, name: it.name, version: it.version)
+ if (ext.unpublished.contains(it.name)) return
+ if (it.name == name) return
15
+ if (!it.plugins.hasPlugin('maven-publish')) return
16
+ evaluationDependsOn(it.path)
17
+ it.publishing.publications.all {
18
+ if (it.artifactId.endsWith("-kotlinMultiplatform")) return
19
+ if (it.artifactId.endsWith("-metadata")) return
20
+ dependency(group: it.groupId, name: it.artifactId, version: it.version)
21
}
22
23
0 commit comments