You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.6 KiB
Groovy
52 lines
1.6 KiB
Groovy
3 years ago
|
|
||
|
publishing {
|
||
|
publications {
|
||
12 months ago
|
"${project.name}"(MavenPublication) {
|
||
3 years ago
|
from components.java
|
||
|
pom {
|
||
12 months ago
|
artifactId = project.name
|
||
3 years ago
|
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'
|
||
12 months ago
|
url = 'https://xbib.org/joerg'
|
||
3 years ago
|
}
|
||
|
}
|
||
|
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 {
|
||
12 months ago
|
sign publishing.publications."${project.name}"
|
||
3 years ago
|
}
|
||
|
}
|