We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 835408a commit 429485fCopy full SHA for 429485f
android/build.gradle
@@ -31,9 +31,15 @@ nexusPublishing {
31
if (user != null && pass != null) {
32
repositories {
33
sonatype {
34
+ // see: https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
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
+
38
username.set(user)
39
password.set(pass)
- stagingProfileId.set(profileId)
40
+ if (!profileId.isNullOrEmpty()) {
41
+ stagingProfileId.set(profileId)
42
+ }
43
}
44
45
transitionCheckOptions {
0 commit comments