Publish source and javadoc as jars, so that they are picked up correctly.

This commit is contained in:
Adam Murdoch
2013-02-26 09:04:25 +11:00
parent b87841ecef
commit 280334e633

View File

@@ -236,11 +236,13 @@ javadoc {
task sourceZip(type: Zip) {
from sourceSets.main.allSource
classifier = 'sources'
extension = 'jar'
}
task javadocZip(type: Zip) {
from javadoc
classifier = 'javadoc'
extension = 'jar'
}
artifacts {