diff --git a/core/src/main/java/com/segment/analytics/kotlin/core/Constants.kt b/core/src/main/java/com/segment/analytics/kotlin/core/Constants.kt index d99efefe..15c47619 100644 --- a/core/src/main/java/com/segment/analytics/kotlin/core/Constants.kt +++ b/core/src/main/java/com/segment/analytics/kotlin/core/Constants.kt @@ -1,7 +1,7 @@ package com.segment.analytics.kotlin.core object Constants { - const val LIBRARY_VERSION = "1.20.0" + const val LIBRARY_VERSION = "1.21.0" const val DEFAULT_API_HOST = "api.segment.io/v1" const val DEFAULT_CDN_HOST = "cdn-settings.segment.com/v1" } diff --git a/gradle.properties b/gradle.properties index 08db8e59..8c71c7fd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -24,8 +24,8 @@ android.disableAutomaticComponentCreation=true # Deployment variables GROUP=com.segment.analytics.kotlin -VERSION_CODE=1200 -VERSION_NAME=1.20.0 +VERSION_CODE=1210 +VERSION_NAME=1.21.0 POM_NAME=Segment for Kotlin POM_DESCRIPTION=The hassle-free way to add analytics to your Kotlin app. diff --git a/gradle/promote.gradle b/gradle/promote.gradle index 646d7f3d..864e3af0 100644 --- a/gradle/promote.gradle +++ b/gradle/promote.gradle @@ -30,6 +30,10 @@ nexusPublishing { in system environments be sure to set the variable names exactly as above. */ - sonatype() + sonatype { + // New Portal OSSRH Staging API endpoints + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) + } } } \ No newline at end of file