Skip to content

Commit

Permalink
Add javadoc and sources build tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
vergenzt committed May 24, 2014
1 parent 81f997b commit 5e4716f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build.gradle
Expand Up @@ -10,3 +10,18 @@ dependencies {
compile 'org.json:json:20140107'
}

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

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

artifacts {
archives sourcesJar
archives javadocJar
}

0 comments on commit 5e4716f

Please sign in to comment.