Moved entirely to maven-publish.
This commit is contained in:
parent
495f9cca31
commit
d02a8a7a0a
1 changed files with 5 additions and 9 deletions
14
build.gradle
14
build.gradle
|
@ -4,7 +4,6 @@ plugins {
|
|||
id 'jacoco'
|
||||
id 'idea'
|
||||
id 'application'
|
||||
id 'maven'
|
||||
id 'maven-publish'
|
||||
id 'signing'
|
||||
id 'pmd'
|
||||
|
@ -156,14 +155,11 @@ 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)
|
||||
}
|
||||
repositories {
|
||||
maven {
|
||||
name = "ossrh"
|
||||
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||
credentials(PasswordCredentials)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue