Skip to content

Commit

Permalink
fix sonatype publishing configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
oliemansm committed Aug 5, 2022
1 parent f80feaa commit 8543a4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ subprojects {

nexusPublishing {
repositories {
myNexus {
nexusUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2")
snapshotRepositoryUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/")
sonatype {
username = System.env.OSS_USER_TOKEN_KEY ?: project.findProperty('OSS_USER_TOKEN_KEY') ?: ''
password = System.env.OSS_USER_TOKEN_PASS ?: project.findProperty('OSS_USER_TOKEN_PASS') ?: ''
}
Expand Down

0 comments on commit 8543a4e

Please sign in to comment.