Skip to content

Commit 8543a4e

Browse files
committed
fix sonatype publishing configuration
1 parent f80feaa commit 8543a4e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ subprojects {
193193

194194
nexusPublishing {
195195
repositories {
196-
myNexus {
197-
nexusUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2")
198-
snapshotRepositoryUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/")
196+
sonatype {
199197
username = System.env.OSS_USER_TOKEN_KEY ?: project.findProperty('OSS_USER_TOKEN_KEY') ?: ''
200198
password = System.env.OSS_USER_TOKEN_PASS ?: project.findProperty('OSS_USER_TOKEN_PASS') ?: ''
201199
}

0 commit comments

Comments
 (0)