Skip to content

Commit

Permalink
chore: update sonatype credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
miurahr committed Sep 26, 2024
1 parent 5ac8b51 commit a1af75d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ signing {
useGpgCmd()
}
}
def sonatypeUsername = project.hasProperty("sonatypeUsername")? project.property('sonatypeUsername') : System.getenv('SONATYPE_USER')
def sonatypePassword = project.hasProperty("sonatypePassword")? project.property('sonatypePassword') : System.getenv('SONATYPE_PASS')
def sonatypeUsername = project.hasProperty("ossrhUsername")? project.property('ossrhUsername') : System.getenv('SONATYPE_USER')
def sonatypePassword = project.hasProperty("ossrhPassword")? project.property('ossrhPassword') : System.getenv('SONATYPE_PASS')
if (sonatypeUsername != null && sonatypePassword != null) {
nexusPublishing.repositories{
sonatype {
Expand Down

0 comments on commit a1af75d

Please sign in to comment.