Skip to content

Commit

Permalink
upgrade: 升级 AGP 部分 API 变动文件
Browse files Browse the repository at this point in the history
  • Loading branch information
afkT committed Jul 1, 2023
1 parent 01ebde1 commit f9a152b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions file/gradle/upload/bintray/bintrayUploadAndroid.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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
}

Expand Down
4 changes: 2 additions & 2 deletions file/gradle/upload/bintray/bintrayUploadJava.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
4 changes: 2 additions & 2 deletions file/gradle/upload/sonatype/sonatypeUploadAndroid.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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
}

Expand Down
4 changes: 2 additions & 2 deletions file/gradle/upload/sonatype/sonatypeUploadJava.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit f9a152b

Please sign in to comment.