Skip to content

Commit

Permalink
fix maven central url of staging repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nikos-papantoniou authored Sep 8, 2023
1 parent f7395ad commit 9300943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ subprojects {
}
// We cannot directly release to Maven Central, we first need to publish on staging repo
// then manually release through the UI in https://s01.oss.sonatype.org/ (login with JIRA)
def stagingRepoUrl = "${System.properties['ossrh.url']}/content/groups/staging"
def stagingRepoUrl = "${System.properties['ossrh.url']}/service/local/staging/deploy/maven2"
def snapshotsRepoUrl = "${System.properties['ossrh.url']}/content/repositories/snapshots"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : stagingRepoUrl
}
Expand Down

0 comments on commit 9300943

Please sign in to comment.