mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2024-11-22 07:33:46 +00:00
update publication scripts
This commit is contained in:
parent
6dec930a9d
commit
a2b3fe57ac
@ -6,6 +6,10 @@ task javadocJar(type: Jar) {
|
|||||||
from javadoc
|
from javadoc
|
||||||
classifier = 'javadoc'
|
classifier = 'javadoc'
|
||||||
}
|
}
|
||||||
|
task sourcesJar(type: Jar) {
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
classifier = 'sources'
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
@ -13,6 +17,7 @@ publishing {
|
|||||||
from components.java
|
from components.java
|
||||||
|
|
||||||
artifact javadocJar
|
artifact javadocJar
|
||||||
|
artifact sourcesJar
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
resolveStrategy = Closure.DELEGATE_FIRST
|
resolveStrategy = Closure.DELEGATE_FIRST
|
||||||
|
@ -6,6 +6,10 @@ task javadocJar(type: Jar) {
|
|||||||
from javadoc
|
from javadoc
|
||||||
classifier = 'javadoc'
|
classifier = 'javadoc'
|
||||||
}
|
}
|
||||||
|
task sourcesJar(type: Jar) {
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
classifier = 'sources'
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
@ -13,6 +17,7 @@ publishing {
|
|||||||
from components.java
|
from components.java
|
||||||
|
|
||||||
artifact javadocJar
|
artifact javadocJar
|
||||||
|
artifact sourcesJar
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
resolveStrategy = Closure.DELEGATE_FIRST
|
resolveStrategy = Closure.DELEGATE_FIRST
|
||||||
|
Loading…
Reference in New Issue
Block a user