Skip to content

Commit 24885f2

Browse files
committed
Try to wire signing into publishing.
1 parent f0f15c9 commit 24885f2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/AndroidClient/client/build.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ dependencies {
1919
}
2020

2121
// Additional tasks for generating source and Javadoc JARs
22-
java {
23-
withJavadocJar()
24-
withSourcesJar()
22+
task sourcesJar(type: Jar) {
23+
from sourceSets.main.allJava
24+
archiveClassifier.set('sources')
25+
}
26+
27+
task javadocJar(type: Jar, dependsOn: javadoc) {
28+
from javadoc.destinationDir
29+
archiveClassifier.set('javadoc')
2530
}
2631

2732
// Configure the publishing block for Maven Central deployment

0 commit comments

Comments
 (0)