Skip to content

Commit 9d7ef20

Browse files
fpavageauartembilan
authored andcommitted
GH-3570: Disable the generation of the Gradle metadata
Fixes #3570 The module file with the Gradle metadata cannot be published on Maven Central, which causes issues for some people using a repository manager such as Artifactory. If it doesn't return a 404 HTTP status, the build fails instead of ignoring the module. **Cherry-pick to `5.4.x` & `5.3.x`**
1 parent ec8a747 commit 9d7ef20

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

publish-maven.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
apply plugin: 'maven-publish'
22
apply plugin: 'com.jfrog.artifactory'
33

4+
tasks.withType(GenerateModuleMetadata) {
5+
enabled = false
6+
}
7+
48
publishing {
59
publications {
610
mavenJava(MavenPublication) {

0 commit comments

Comments
 (0)