Replace deprecated call.
@@ -60,13 +60,13 @@ task sourceJar(type: Jar) {
description = "Create a JAR with all sources"
from sourceSets.main.allSource
from sourceSets.test.allSource
- classifier = 'sources'
+ archiveClassifier = 'sources'
}
task javadocJar(type: Jar, dependsOn: javadoc) {
description = "Create a JAR with the JavaDoc for the java sources"
from javadoc.destinationDir
- classifier = 'javadoc'
+ archiveClassifier = 'javadoc'
}
// Extra details provided for unit tests
