We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0de3ce commit d2456caCopy full SHA for d2456ca
build.gradle
@@ -67,7 +67,10 @@ subprojects {
67
68
nexusPublishing {
69
repositories {
70
- sonatype ()
+ sonatype {
71
+ nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
72
+ snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
73
+ }
74
}
75
76
ci_publish.sh
@@ -29,7 +29,7 @@ if [[ ! -f "${SECRET_KEYS_FILE}" ]]; then
29
fi
30
31
# Publish
32
-./gradlew publishToSonatype \
+./gradlew publishToSonatype closeSonatypeStagingRepository \
33
--info \
34
-Dorg.gradle.project.sonatypeUsername="${SONATYPE_USERNAME}" \
35
-Dorg.gradle.project.sonatypePassword="${SONATYPE_PASSWORD}" \
0 commit comments