Skip to content

Commit

Permalink
Update the maven publish plugin (#2734)
Browse files Browse the repository at this point in the history
1. Remove the unnecessary custom URL
2. Replace jcenter with mavenCentral
  • Loading branch information
madeye authored May 11, 2021
1 parent 8416d88 commit bbc908a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
gradlePluginPortal()
}

Expand Down
2 changes: 0 additions & 2 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ android {
}

mavenPublish.targets.getByName("uploadArchives") {
releaseRepositoryUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
snapshotRepositoryUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
repositoryUsername = findProperty("NEXUS_USERNAME").toString()
repositoryPassword = findProperty("NEXUS_PASSWORD").toString()
}
Expand Down

0 comments on commit bbc908a

Please sign in to comment.