Return sonatype publication for the plugin

This commit is contained in:
Alexander Nozik 2021-09-28 12:15:13 +03:00
parent 1c37a165c2
commit 54274f0c0d

View File

@ -187,6 +187,16 @@ afterEvaluate {
"https://oss.sonatype.org/service/local/staging/deploy/maven2"
}
repositories.maven {
name = "sonatype"
url = uri(sonatypeRepo)
credentials {
username = sonatypeUser
password = sonatypePassword
}
}
if (plugins.findPlugin("signing") == null) {
apply<SigningPlugin>()
}