Publish source and javadoc as jars, so that they are picked up correctly.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user