Skip to content

Commit

Permalink
Moved entirely to maven-publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Mar 20, 2021
1 parent 495f9cc commit d02a8a7
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ plugins {
id 'jacoco'
id 'idea'
id 'application'
id 'maven'
id 'maven-publish'
id 'signing'
id 'pmd'
Expand Down Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit d02a8a7

Please sign in to comment.