Updated to fix issues with publishing to maven local

This commit is contained in:
nathan 2018-07-17 21:12:42 +02:00
parent 6cf508069f
commit 3effcb3e9e
1 changed files with 6 additions and 0 deletions

View File

@ -225,6 +225,12 @@ tasks.withType(PublishToMavenRepository) {
publication == publishing.publications.licensing
}
}
tasks.withType(PublishToMavenLocal) {
onlyIf {
publication == publishing.publications.licensing
}
}
signing {
required { hasProperty('sonatypeUsername') }