Skip to content

Commit

Permalink
no staging
Browse files Browse the repository at this point in the history
  • Loading branch information
tiainen committed Nov 23, 2023
1 parent c2600e2 commit 3e4e2e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@ ext.setUpSigningKey = { signingExt ->
}

nexusPublishing {
useStaging = false
repositories {
gluonNexus {
nexusUrl = uri(project.findProperty('sonatypeRepo') ?: "https://oss.sonatype.org/service/local/")
snapshotRepositoryUrl = uri(project.findProperty('sonatypeSnapshotRepo') ?: "https://oss.sonatype.org/content/repositories/snapshots/")
snapshotRepositoryUrl = uri(isReleaseBuild() ? (project.findProperty('sonatypeRepo') ?: "https://oss.sonatype.org/service/local/") : (project.findProperty('sonatypeSnapshotRepo') ?: "https://oss.sonatype.org/content/repositories/snapshots/"))
username = project.findProperty('sonatypeUsername') ?: ""
password = project.findProperty('sonatypePassword') ?: ""
}
Expand Down

0 comments on commit 3e4e2e0

Please sign in to comment.