Skip to content

Commit

Permalink
Add Javadoc and Sources jar to release
Browse files Browse the repository at this point in the history
  • Loading branch information
mbastian committed Jan 8, 2016
1 parent 11e7a98 commit 872b1da
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions paldb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ if (project.hasProperty('release')) {
sign configurations.archives
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}

task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}

artifacts {
archives javadocJar, sourcesJar
}

uploadArchives {
repositories {
mavenDeployer {
Expand Down

0 comments on commit 872b1da

Please sign in to comment.