diff --git a/build.gradle b/build.gradle index bb243f136..03ffc44f4 100644 --- a/build.gradle +++ b/build.gradle @@ -155,6 +155,12 @@ subprojects { publishing { publications { mavenJava(MavenPublication) { + versionMapping { + allVariants { + fromResolutionResult() + } + } + from components.java artifact javadocJar artifact sourcesJar