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 'jacoco'
|
||||||
id 'idea'
|
id 'idea'
|
||||||
id 'application'
|
id 'application'
|
||||||
id 'maven'
|
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
id 'signing'
|
id 'signing'
|
||||||
id 'pmd'
|
id 'pmd'
|
||||||
|
@ -156,14 +155,11 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
repositories {
|
||||||
|
maven {
|
||||||
uploadArchives {
|
name = "ossrh"
|
||||||
repositories.mavenDeployer {
|
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
credentials(PasswordCredentials)
|
||||||
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
|
|
||||||
authentication(userName: ossrhUsername, password: ossrhPassword)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue