Skip to content

Commit e5ac5ef

Browse files
authored
Add archiveClassifier to build.gradle for javadocJar and sourcesJar (#476)
1 parent d4a3242 commit e5ac5ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,12 @@ javadoc {
132132
}
133133

134134
task javadocJar(type: Jar) {
135+
archiveClassifier = 'javadoc'
135136
from javadoc
136137
}
137138

138139
task sourcesJar(type: Jar, dependsOn: classes) {
140+
archiveClassifier = 'sources'
139141
from sourceSets.main.allSource
140142
}
141143

0 commit comments

Comments
 (0)