Skip to content

Commit

Permalink
add the credentials to the repo section in the release file
Browse files Browse the repository at this point in the history
  • Loading branch information
rokob committed Oct 12, 2017
1 parent 1f4f44e commit 618bde4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gradle/release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ subprojects {
}
maven {
url repoUrl
credentials {
username getRepositoryUsername()
password getRepositoryPassword()
}
}
}
}
Expand Down Expand Up @@ -280,4 +284,4 @@ def getRepositoryUsername() {

def getRepositoryPassword() {
return hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ""
}
}

0 comments on commit 618bde4

Please sign in to comment.