Publish MapLibre Android to Maven Central (#3603)

This commit is contained in:
Bart Louwers
2025-07-04 20:47:44 +02:00
committed by GitHub
parent f7eab20590
commit 9ae85e6eb6
3 changed files with 8 additions and 8 deletions

View File

@@ -12,10 +12,10 @@ nexusPublishing {
repositories {
sonatype {
stagingProfileId.set(extra["sonatypeStagingProfileId"] as String?)
username.set(extra["ossrhUsername"] as String?)
password.set(extra["ossrhPassword"] as String?)
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username.set(extra["mavenCentralUsername"] as String?)
password.set(extra["mavenCentralPassword"] as String?)
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
}
}
}

View File

@@ -1,6 +1,6 @@
extra["signing.keyId"] = System.getenv("SIGNING_KEY_ID")
extra["signing.password"] = System.getenv("SIGNING_PASSWORD")
extra["signing.secretKeyRingFile"] = "${projectDir}/../signing-key.gpg"
extra["ossrhUsername"] = System.getenv("OSSRH_USERNAME")
extra["ossrhPassword"] = System.getenv("OSSRH_PASSWORD")
extra["mavenCentralUsername"] = System.getenv("MAVEN_CENTRAL_USERNAME")
extra["mavenCentralPassword"] = System.getenv("MAVEN_CENTRAL_PASSWORD")
extra["sonatypeStagingProfileId"] = System.getenv("SONATYPE_STAGING_PROFILE_ID")