modify for gradle config

This commit is contained in:
Jörg Prante 2019-06-13 20:22:25 +02:00
parent 979b06fbf2
commit 7338f4bce1
2 changed files with 1 additions and 23 deletions

View file

@ -109,13 +109,7 @@ subprojects {
artifacts {
archives javadocJar, sourcesJar
}
if (project.hasProperty('signing.keyId')) {
signing {
sign configurations.archives
}
}
apply from: "${rootProject.projectDir}/gradle/publish.gradle"
spotbugs {

View file

@ -5,22 +5,6 @@ ext {
scmDeveloperConnection = 'scm:git:git://github.com/jprante/elx.git'
}
task xbibUpload(type: Upload, dependsOn: build) {
group = 'publish'
configuration = configurations.archives
uploadDescriptor = true
repositories {
if (project.hasProperty("xbibUsername")) {
mavenDeployer {
configuration = configurations.wagon
repository(url: uri(project.property('xbibUrl'))) {
authentication(userName: xbibUsername, privateKey: xbibPrivateKey)
}
}
}
}
}
task sonaTypeUpload(type: Upload, dependsOn: build) {
group = 'publish'
configuration = configurations.archives