We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0f15c9 commit 24885f2Copy full SHA for 24885f2
1 file changed
src/AndroidClient/client/build.gradle
@@ -19,9 +19,14 @@ dependencies {
19
}
20
21
// Additional tasks for generating source and Javadoc JARs
22
-java {
23
- withJavadocJar()
24
- withSourcesJar()
+task sourcesJar(type: Jar) {
+ from sourceSets.main.allJava
+ archiveClassifier.set('sources')
25
+}
26
+
27
+task javadocJar(type: Jar, dependsOn: javadoc) {
28
+ from javadoc.destinationDir
29
+ archiveClassifier.set('javadoc')
30
31
32
// Configure the publishing block for Maven Central deployment
0 commit comments