From d5d94df48711ae80ff807968897eacb7a54b139d Mon Sep 17 00:00:00 2001 From: afkT Date: Sat, 1 Jul 2023 23:50:49 +0800 Subject: [PATCH] =?UTF-8?q?upgrade:=20=E5=8D=87=E7=BA=A7=20AGP=20=E9=83=A8?= =?UTF-8?q?=E5=88=86=20API=20=E5=8F=98=E5=8A=A8=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: f9a152b7eeda5546527dbdbb79fc8d494e400595 --- file/gradle/upload/bintray/bintrayUploadAndroid.gradle | 4 ++-- file/gradle/upload/bintray/bintrayUploadJava.gradle | 4 ++-- file/gradle/upload/sonatype/sonatypeUploadAndroid.gradle | 4 ++-- file/gradle/upload/sonatype/sonatypeUploadJava.gradle | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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 }