Skip to content

Commit

Permalink
Fix build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
keiji committed Oct 10, 2021
1 parent 02ce2e3 commit 34000f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ publishing {
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
url = version.endsWith('-SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl

def sonatypeUsername = project.getProperties().get('sonatypeUsername') ?: ""
def sonatypePassword = project.getProperties().get('sonatypePassword') ?: ""
credentials {
username = "${sonatypeUsername}"
password = "${sonatypePassword}"
Expand Down

0 comments on commit 34000f0

Please sign in to comment.