diff --git a/build.gradle b/build.gradle index 0c5d6a5..33091df 100644 --- a/build.gradle +++ b/build.gradle @@ -11,8 +11,7 @@ buildscript { dependencies { classpath "com.android.tools.build:gradle:${ver.buildTools.android_gradle}" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${ver.kotlin}" - classpath "org.jetbrains.kotlin:kotlin-android-extensions:${ver.kotlin}" - classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.22.0" + classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0" } } diff --git a/line-sdk/build.gradle b/line-sdk/build.gradle index 3c0758d..1c4f386 100644 --- a/line-sdk/build.gradle +++ b/line-sdk/build.gradle @@ -282,8 +282,8 @@ afterEvaluate { maven { name = "sonatype" - def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" - def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/" + def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" + def snapshotsRepoUrl = "https://central.sonatype.com/repository/maven-snapshots/" url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl def name = findProperty('repositoryUsername') ?: '' @@ -307,11 +307,9 @@ afterEvaluate { nexusStaging { packageGroup = 'com.linecorp' + serverUrl = 'https://ossrh-staging-api.central.sonatype.com/service/local/' def name = findProperty('nexusUsername') ?: '' def pw = findProperty('nexusPassword') ?: '' username = name password = pw } - - -