diff --git a/file/gradle/upload/bintray/bintrayUploadAndroid.gradle b/file/gradle/upload/bintray/bintrayUploadAndroid.gradle index 5a4b3bc11e..da70acfe00 100644 --- a/file/gradle/upload/bintray/bintrayUploadAndroid.gradle +++ b/file/gradle/upload/bintray/bintrayUploadAndroid.gradle @@ -70,7 +70,7 @@ install { // This generates sources.jar task sourcesJar(type: Jar) { from android.sourceSets.main.java.srcDirs - classifier = "sources" + archiveClassifier = "sources" } task javadoc(type: Javadoc) { @@ -82,7 +82,7 @@ task javadoc(type: Javadoc) { // This generates javadoc.jar task javadocJar(type: Jar, dependsOn: javadoc) { - classifier = "javadoc" + archiveClassifier = "javadoc" from javadoc.destinationDir } diff --git a/file/gradle/upload/bintray/bintrayUploadJava.gradle b/file/gradle/upload/bintray/bintrayUploadJava.gradle index c75ffd30eb..2bcd4b2afa 100644 --- a/file/gradle/upload/bintray/bintrayUploadJava.gradle +++ b/file/gradle/upload/bintray/bintrayUploadJava.gradle @@ -69,13 +69,13 @@ install { // This generates sources.jar task sourcesJar(type: Jar, dependsOn: classes) { - classifier = "sources" + archiveClassifier = "sources" from sourceSets.main.allSource } // This generates javadoc.jar task javadocJar(type: Jar, dependsOn: javadoc) { - classifier = "javadoc" + archiveClassifier = "javadoc" from javadoc.destinationDir } diff --git a/file/gradle/upload/sonatype/sonatypeUploadAndroid.gradle b/file/gradle/upload/sonatype/sonatypeUploadAndroid.gradle index f6de385f09..917415116e 100644 --- a/file/gradle/upload/sonatype/sonatypeUploadAndroid.gradle +++ b/file/gradle/upload/sonatype/sonatypeUploadAndroid.gradle @@ -63,7 +63,7 @@ ext["ossrhPassword"] = ossrhPassword // This generates sources.jar task sourcesJar(type: Jar) { from android.sourceSets.main.java.srcDirs - classifier = "sources" + archiveClassifier = "sources" } task javadoc(type: Javadoc) { @@ -75,7 +75,7 @@ task javadoc(type: Javadoc) { // This generates javadoc.jar task javadocJar(type: Jar, dependsOn: javadoc) { - classifier = "javadoc" + archiveClassifier = "javadoc" from javadoc.destinationDir } diff --git a/file/gradle/upload/sonatype/sonatypeUploadJava.gradle b/file/gradle/upload/sonatype/sonatypeUploadJava.gradle index 9c7258686e..9dc87e3f63 100644 --- a/file/gradle/upload/sonatype/sonatypeUploadJava.gradle +++ b/file/gradle/upload/sonatype/sonatypeUploadJava.gradle @@ -62,13 +62,13 @@ ext["ossrhPassword"] = ossrhPassword // This generates sources.jar task sourcesJar(type: Jar, dependsOn: classes) { - classifier = "sources" + archiveClassifier = "sources" from sourceSets.main.allSource } // This generates javadoc.jar task javadocJar(type: Jar, dependsOn: javadoc) { - classifier = "javadoc" + archiveClassifier = "javadoc" from javadoc.destinationDir }