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) { task sourceZip(type: Zip) {
from sourceSets.main.allSource from sourceSets.main.allSource
classifier = 'sources' classifier = 'sources'
extension = 'jar'
} }
task javadocZip(type: Zip) { task javadocZip(type: Zip) {
from javadoc from javadoc
classifier = 'javadoc' classifier = 'javadoc'
extension = 'jar'
} }
artifacts { artifacts {