Skip to content

Commit bbc908a

Browse files
authored
Update the maven publish plugin (#2734)
1. Remove the unnecessary custom URL 2. Replace jcenter with mavenCentral
1 parent 8416d88 commit bbc908a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99

1010
repositories {
1111
google()
12-
jcenter()
12+
mavenCentral()
1313
gradlePluginPortal()
1414
}
1515

plugin/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ android {
1717
}
1818

1919
mavenPublish.targets.getByName("uploadArchives") {
20-
releaseRepositoryUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
21-
snapshotRepositoryUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
2220
repositoryUsername = findProperty("NEXUS_USERNAME").toString()
2321
repositoryPassword = findProperty("NEXUS_PASSWORD").toString()
2422
}

0 commit comments

Comments
 (0)