mirror of
https://github.com/InsanusMokrassar/CaptchaPlaguBotPlugin.git
synced 2024-11-22 16:23:56 +00:00
45 lines
1.1 KiB
Groovy
45 lines
1.1 KiB
Groovy
|
apply plugin: 'maven-publish'
|
||
|
|
||
|
|
||
|
task javadocJar(type: Jar) {
|
||
|
from javadoc
|
||
|
classifier = 'javadoc'
|
||
|
}
|
||
|
task sourcesJar(type: Jar) {
|
||
|
from sourceSets.main.allSource
|
||
|
classifier = 'sources'
|
||
|
}
|
||
|
|
||
|
publishing {
|
||
|
publications {
|
||
|
maven(MavenPublication) {
|
||
|
from components.java
|
||
|
|
||
|
artifact javadocJar
|
||
|
artifact sourcesJar
|
||
|
|
||
|
pom {
|
||
|
resolveStrategy = Closure.DELEGATE_FIRST
|
||
|
|
||
|
description = "${project.name}"
|
||
|
name = "${project.name}"
|
||
|
url = "https://github.com/InsanusMokrassar/CaptchaPlaguBotPlugin"
|
||
|
|
||
|
scm {
|
||
|
developerConnection = "scm:git:[fetch=]https://github.com/InsanusMokrassar/CaptchaPlaguBotPlugin.git[push=]https://github.com/InsanusMokrassar/CaptchaPlaguBotPlugin.git"
|
||
|
url = "https://github.com/InsanusMokrassar/CaptchaPlaguBotPlugin.git"
|
||
|
}
|
||
|
|
||
|
developers {
|
||
|
|
||
|
}
|
||
|
|
||
|
licenses {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|