move public release publication to central portal

commit_hash:f7c9db34829483f4f63ef0c11019092729446ccd
This commit is contained in:
gulevsky
2025-07-08 21:42:08 +03:00
parent b4e4ef970a
commit 0b565309bc
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -2,7 +2,7 @@ ext {
bucketUsername = project.findProperty("bucketUsername") ?: System.env["BUCKET_USERNAME"]
bucketPassword = project.findProperty("bucketPassword") ?: System.env["BUCKET_PASSWORD"]
publishToBucket = bucketUsername != null && bucketPassword != null
ossUsername = project.findProperty("ossUsername")
ossPassword = project.findProperty("ossPassword")
publishToMavenCentral = ossUsername != null && ossPassword != null
sonatypeUsername = project.findProperty("sonatypeUsername")
sonatypePassword = project.findProperty("sonatypePassword")
publishToMavenCentral = sonatypeUsername != null && sonatypePassword != null
}
+4 -4
View File
@@ -44,10 +44,10 @@ if (publishToMavenCentral) {
repositories {
sonatype {
stagingProfileId = "14c2d9e18a30b"
nexusUrl = uri("https://oss.sonatype.org/service/local/")
snapshotRepositoryUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/")
username = ossUsername
password = ossPassword
nexusUrl = uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
snapshotRepositoryUrl = uri("https://central.sonatype.com/repository/maven-snapshots/")
username = sonatypeUsername
password = sonatypePassword
}
}
}