Unverified Commit bbc908a5 authored by Max Lv's avatar Max Lv Committed by GitHub

Update the maven publish plugin (#2734)

1. Remove the unnecessary custom URL
2. Replace jcenter with mavenCentral
parent 8416d889
......@@ -9,7 +9,7 @@ buildscript {
repositories {
google()
jcenter()
mavenCentral()
gradlePluginPortal()
}
......
......@@ -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()
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment