Skip to content

Commit 13148c0

Browse files
authored
prepare release 1.21.0 (#275)
* prepare release 1.21.0 * update sonatype to use staging api
1 parent c33414f commit 13148c0

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.segment.analytics.kotlin.core
22

33
object Constants {
4-
const val LIBRARY_VERSION = "1.20.0"
4+
const val LIBRARY_VERSION = "1.21.0"
55
const val DEFAULT_API_HOST = "api.segment.io/v1"
66
const val DEFAULT_CDN_HOST = "cdn-settings.segment.com/v1"
77
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ android.disableAutomaticComponentCreation=true
2424
# Deployment variables
2525
GROUP=com.segment.analytics.kotlin
2626

27-
VERSION_CODE=1200
28-
VERSION_NAME=1.20.0
27+
VERSION_CODE=1210
28+
VERSION_NAME=1.21.0
2929

3030
POM_NAME=Segment for Kotlin
3131
POM_DESCRIPTION=The hassle-free way to add analytics to your Kotlin app.

gradle/promote.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ nexusPublishing {
3030
in system environments
3131
be sure to set the variable names exactly as above.
3232
*/
33-
sonatype()
33+
sonatype {
34+
// New Portal OSSRH Staging API endpoints
35+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
36+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
37+
}
3438
}
3539
}

0 commit comments

Comments
 (0)