Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Specify nexus username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Jul 11, 2021
1 parent fda14b4 commit 9bdb40f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ signing {

nexusStaging {
serverUrl = 'https://s01.oss.sonatype.org/service/local/'
username = project.hasProperty('ossrhUser') ? ossrhUser : 'foo'
password = project.hasProperty('ossrhPass') ? ossrhPass : 'bar'
}
closeAndReleaseRepository.mustRunAfter publish

Expand Down

0 comments on commit 9bdb40f

Please sign in to comment.