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 fa443b0 commit 9ac14e0Copy full SHA for 9ac14e0
build.gradle.kts
@@ -151,9 +151,9 @@ subprojects {
151
}
152
create<MavenPublication>("mavenJava") {
153
from(jarComponent)
154
- // no need to publish sources or javadocs for SNAPSHOT builds
+ artifact(sourcesJar.get())
155
+ // no need to publish javadocs for SNAPSHOT builds
156
if (rootProject.extra["isReleaseVersion"] as Boolean) {
- artifact(sourcesJar.get())
157
artifact(javadocJar.get())
158
159
0 commit comments