From bbc908a566ea20d0e9b1557fc0f8e6c273c453d8 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Tue, 11 May 2021 09:26:03 +0800 Subject: [PATCH] Update the maven publish plugin (#2734) 1. Remove the unnecessary custom URL 2. Replace jcenter with mavenCentral --- build.gradle.kts | 2 +- plugin/build.gradle.kts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 756a8f2f7f..4a49176467 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ buildscript { repositories { google() - jcenter() + mavenCentral() gradlePluginPortal() } diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index 65d23d2b94..d1afa72bf4 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -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() }