Skip to content

Commit 872b1da

Browse files
committed
Add Javadoc and Sources jar to release
1 parent 11e7a98 commit 872b1da

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

paldb/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,20 @@ if (project.hasProperty('release')) {
6868
sign configurations.archives
6969
}
7070

71+
task javadocJar(type: Jar) {
72+
classifier = 'javadoc'
73+
from javadoc
74+
}
75+
76+
task sourcesJar(type: Jar) {
77+
classifier = 'sources'
78+
from sourceSets.main.allSource
79+
}
80+
81+
artifacts {
82+
archives javadocJar, sourcesJar
83+
}
84+
7185
uploadArchives {
7286
repositories {
7387
mavenDeployer {

0 commit comments

Comments
 (0)