Skip to content

Commit

Permalink
Fix nexusUrl url
Browse files Browse the repository at this point in the history
  • Loading branch information
sbglasius committed Dec 30, 2023
1 parent 57863a2 commit ff0011e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,6 @@ afterEvaluate {

tasks.withType(Sign).configureEach {
onlyIf { isReleaseVersion }
doFirst {
println "-" * 50
println ext.dump()
println "-" * 50
}
}

import io.github.gradlenexus.publishplugin.InitializeNexusStagingRepository
Expand All @@ -160,8 +155,8 @@ nexusPublishing {
def ossPass = System.getenv("SONATYPE_PASSWORD") ?: project.hasProperty("sonatypeOssPassword") ? project.sonatypeOssPassword : ''
def ossStagingProfileId = System.getenv("SONATYPE_STAGING_PROFILE_ID") ?: project.hasProperty("sonatypeOssStagingProfileIdExternalConfig") ? project.sonatypeOssStagingProfileIdExternalConfig : ''

nexusUrl = uri("https://oss.sonatype.org/service/local/")
snapshotRepositoryUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/")
nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
username = ossUser
password = ossPass
stagingProfileId = ossStagingProfileId
Expand Down

0 comments on commit ff0011e

Please sign in to comment.