We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eafc1b3 commit 5aeae3fCopy full SHA for 5aeae3f
2 files changed
.github/workflows/publish.yml
@@ -27,7 +27,7 @@ jobs:
27
28
- name: "Gradle Publish"
29
run: |
30
- ./gradlew publishToSonatype -Pversion=${GITHUB_REF:10} \
+ ./gradlew publishToSonatype closeSonatypeStagingRepository -Pversion=${GITHUB_REF:10} \
31
-Psigning.keyId=${GPG_KEY_ID} \
32
-Psigning.password=${GPG_PASSPHRASE} \
33
-Psigning.secretKeyRingFile=${GITHUB_WORKSPACE}/${GPG_KEY_ID}.gpg
build.gradle.kts
@@ -43,7 +43,10 @@ configure(listOf(rootProject)) {
43
44
nexusPublishing {
45
repositories {
46
- sonatype()
+ sonatype {
47
+ nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
48
+ snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
49
+ }
50
}
51
52
0 commit comments