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 dfe7f89 commit 9f4e448Copy full SHA for 9f4e448
build.gradle.kts
@@ -7,6 +7,7 @@ plugins {
7
application
8
signing
9
jacoco
10
+ id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
11
}
12
13
repositories {
@@ -126,13 +127,14 @@ publishing {
126
127
128
129
- repositories {
130
- maven {
131
- name = "ossrh"
132
- url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2")
133
- credentials(PasswordCredentials::class)
+}
+nexusPublishing {
+ repositories {
+ sonatype {
134
+ nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
135
+ snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
136
+ }
137
- }
138
139
140
signing {
0 commit comments