2022-02-10 18:41:26 +01:00
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
2023-04-28 11:05:24 +02:00
|
|
|
"${project.name}"(MavenPublication) {
|
2022-02-10 18:41:26 +01:00
|
|
|
from components.java
|
|
|
|
pom {
|
2023-04-28 11:05:24 +02:00
|
|
|
artifactId = project.name
|
2022-02-10 18:41:26 +01:00
|
|
|
name = project.name
|
|
|
|
description = rootProject.ext.description
|
|
|
|
url = rootProject.ext.url
|
|
|
|
inceptionYear = rootProject.ext.inceptionYear
|
|
|
|
packaging = 'jar'
|
|
|
|
organization {
|
|
|
|
name = 'xbib'
|
|
|
|
url = 'https://xbib.org'
|
|
|
|
}
|
|
|
|
developers {
|
|
|
|
developer {
|
|
|
|
id = 'jprante'
|
|
|
|
name = 'Jörg Prante'
|
|
|
|
email = 'joergprante@gmail.com'
|
|
|
|
url = 'https://github.com/jprante'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
scm {
|
|
|
|
url = rootProject.ext.scmUrl
|
|
|
|
connection = rootProject.ext.scmConnection
|
|
|
|
developerConnection = rootProject.ext.scmDeveloperConnection
|
|
|
|
}
|
|
|
|
issueManagement {
|
|
|
|
system = rootProject.ext.issueManagementSystem
|
|
|
|
url = rootProject.ext.issueManagementUrl
|
|
|
|
}
|
|
|
|
licenses {
|
|
|
|
license {
|
|
|
|
name = rootProject.ext.licenseName
|
|
|
|
url = rootProject.ext.licenseUrl
|
|
|
|
distribution = 'repo'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (project.hasProperty("signing.keyId")) {
|
|
|
|
apply plugin: 'signing'
|
|
|
|
signing {
|
2023-04-28 11:05:24 +02:00
|
|
|
sign publishing.publications."${project.name}"
|
2022-02-10 18:41:26 +01:00
|
|
|
}
|
|
|
|
}
|