We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca98207 commit bc434c1Copy full SHA for bc434c1
gradle/publish-bintray.gradle
@@ -72,4 +72,16 @@ bintrayUpload.doFirst {
72
println("Uploading artifact '$it.groupId:$it.artifactId:$it.version' from publication '$it.name'")
73
it
74
}
75
+}
76
+
77
+// TODO :kludge this is required to disable publish of metadata for all but native
78
+if (!isNative) {
79
+ afterEvaluate {
80
+ publishing.publications.each { pub ->
81
+ pub.gradleModuleMetadataFile = null
82
+ tasks.matching { it.name == "generateMetadataFileFor${pub.name.capitalize()}Publication" }.all {
83
+ onlyIf { false }
84
+ }
85
86
87
0 commit comments