Return sonatype publication for the plugin
This commit is contained in:
parent
1c37a165c2
commit
54274f0c0d
@ -187,6 +187,16 @@ afterEvaluate {
|
|||||||
"https://oss.sonatype.org/service/local/staging/deploy/maven2"
|
"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) {
|
if (plugins.findPlugin("signing") == null) {
|
||||||
apply<SigningPlugin>()
|
apply<SigningPlugin>()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user