Skip to content

Commit 3c81066

Browse files
committed
Updated sources/javadoc jar building.
1 parent 66d734b commit 3c81066

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ tasks.withType(Javadoc) {
5858
}
5959

6060
task sourcesJar(type: Jar, dependsOn: classes) {
61-
archiveFileName = project.name + '-' + version + '-sources.jar'
61+
// archiveFileName = project.name + '-' + version + '-sources.jar'
62+
archiveClassifier = 'sources'
6263
from sourceSets.main.allSource
6364
}
6465

6566
task javadocJar(type: Jar, dependsOn: javadoc) {
66-
archiveFileName = project.name + '-' + version + '-javadoc.jar'
67+
// archiveFileName = project.name + '-' + version + '-javadoc.jar'
68+
archiveClassifier = 'javadoc'
6769
from javadoc.destinationDir
6870
}
6971

0 commit comments

Comments
 (0)