Skip to content

Commit

Permalink
Set sonatype credentials via environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
amirhosv committed Jun 25, 2024
1 parent a49d084 commit 71a26db
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 @@ -752,8 +752,8 @@ if (project.hasProperty('mavenUser') && project.hasProperty('jcecertAlias')) {
repositories {
sonatype {
nexusUrl = uri('https://aws.oss.sonatype.org/service/local/')
username = mavenUser
password = mavenPassword
username = "${System.env.ORG_GRADLE_PROJECT_sonatypeUsername}"
password = "${System.env.ORG_GRADLE_PROJECT_sonatypePassword}"
}
}
}
Expand Down

0 comments on commit 71a26db

Please sign in to comment.