Fix for CI problem with missing mavenDeployer authentication.
This commit is contained in:
parent
74dddbba69
commit
109e3894ab
1 changed files with 3 additions and 1 deletions
|
@ -157,10 +157,12 @@ publishing {
|
|||
uploadArchives {
|
||||
repositories.mavenDeployer {
|
||||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
||||
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
|
||||
authentication(userName: ossrhUsername, password: ossrhPassword)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
signing {
|
||||
useGpgCmd()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue