Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

Expand Down
8 changes: 3 additions & 5 deletions line-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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') ?: ''
Expand All @@ -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
}