File tree Expand file tree Collapse file tree 3 files changed +152
-116
lines changed
Expand file tree Collapse file tree 3 files changed +152
-116
lines changed Original file line number Diff line number Diff line change 11# Transifex Native Android SDK
22
33[ ![ CI] ( https://github.com/transifex/transifex-java/actions/workflows/gradle.yml/badge.svg )] ( https://github.com/transifex/transifex-java/actions/workflows/gradle.yml )
4- [ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.transifex.txnative/txsdk?color=32c955 )] ( https://maven-badges.herokuapp .com/maven-central /com.transifex.txnative/txsdk )
4+ [ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.transifex.txnative/txsdk?color=32c955 )] ( https://central.sonatype .com/artifact /com.transifex.txnative/txsdk )
55
66Transifex Native Android SDK is a collection of tools to easily localize your Android applications
77using [ Transifex Native] ( https://www.transifex.com/native/ ) . The Android library can fetch translations
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ buildscript {
3232}
3333
3434plugins {
35- id " io.github.gradle-nexus.publish-plugin" version " 1.3 .0"
35+ id " io.github.gradle-nexus.publish-plugin" version " 2.0 .0"
3636 id ' com.android.application' version ' 8.1.0' apply false
3737 id ' com.android.library' version ' 8.1.0' apply false
3838 id ' org.jetbrains.kotlin.android' version ' 1.9.20' apply false
@@ -70,15 +70,17 @@ if (pgpKeyContent != null) {
7070 ext[' signing.secretKeyRingFile' ] = keyFile. absolutePath
7171}
7272
73+ // According to https://github.com/gradle-nexus/publish-plugin?tab=readme-ov-file#publishing-to-maven-central-via-sonatype-central
7374nexusPublishing {
7475 repositories {
76+ // see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
7577 sonatype {
76- stagingProfileId = ' e1e4b9ea52730'
77- nexusUrl. set(uri(" https://s01.oss.sonatype.org/service/local/" ))
78- snapshotRepositoryUrl. set(uri(" https://s01.oss.sonatype.org/content/repositories/snapshots/" ))
78+ nexusUrl. set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
79+ snapshotRepositoryUrl. set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
7980 username = ossrhUsername
8081 password = ossrhPassword
8182 version = sdkVersion
83+ group = pomGroupID
8284 }
8385 }
8486}
You can’t perform that action at this time.
0 commit comments