mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
move public release publication to central portal
commit_hash:f7c9db34829483f4f63ef0c11019092729446ccd
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user