Moved entirely to maven-publish.

This commit is contained in:
Erik C. Thauvin 2021-03-19 17:53:48 -07:00
parent 495f9cca31
commit d02a8a7a0a

View file

@ -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)
}
}
}