mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-11-22 16:23:55 +00:00
62 lines
1.8 KiB
Groovy
62 lines
1.8 KiB
Groovy
|
apply plugin: 'maven-publish'
|
||
|
apply plugin: 'signing'
|
||
|
|
||
|
task javadocJar(type: Jar) {
|
||
|
archiveClassifier.set 'javadoc'
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
jvm("jvm8") {
|
||
|
mavenPublication {
|
||
|
groupId "${project.group}"
|
||
|
artifactId "${project.name}"
|
||
|
version "${project.version}"
|
||
|
|
||
|
artifact(javadocJar)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
publishing {
|
||
|
publications {
|
||
|
jvm8 {
|
||
|
pom.withXml {
|
||
|
asNode().children().last() + {
|
||
|
resolveStrategy = Closure.DELEGATE_FIRST
|
||
|
name "${project_public_name}"
|
||
|
description "${project_public_description}"
|
||
|
url "https://insanusmokrassar.github.io/${project.name}"
|
||
|
|
||
|
scm {
|
||
|
connection "scm:git:git://github.com/insanusmokrassar/${project.name}.git"
|
||
|
developerConnection "scm:git:[fetch=]https://github.com/insanusmokrassar/${project.name}.git[push=]ssh:git@github.com:insanusmokrassar/${project.name}.git"
|
||
|
url "https://github.com/insanusmokrassar/${project.name}"
|
||
|
|
||
|
}
|
||
|
|
||
|
developers {
|
||
|
developer {
|
||
|
id "InsanusMokrassar"
|
||
|
name "Ovsyannikov Alexey"
|
||
|
email "ovsyannikov.alexey95@gmail.com"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
licenses {
|
||
|
license {
|
||
|
name 'The Apache Software License, Version 2.0'
|
||
|
url 'https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE'
|
||
|
distribution 'repo'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
signing {
|
||
|
useGpgCmd()
|
||
|
sign publishing.publications.jvm8
|
||
|
}
|