Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
Fix shadow, remove extra source jar in forge
Dieser Commit ist enthalten in:
Ursprung
e91859130c
Commit
e19820e04d
19
build.gradle
19
build.gradle
@ -75,11 +75,6 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
||||||
classifier = 'sources'
|
|
||||||
from sourceSets.main.allSource
|
|
||||||
}
|
|
||||||
|
|
||||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||||
classifier = 'javadoc'
|
classifier = 'javadoc'
|
||||||
from javadoc.destinationDir
|
from javadoc.destinationDir
|
||||||
@ -87,13 +82,23 @@ subprojects {
|
|||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives jar
|
archives jar
|
||||||
archives sourcesJar
|
|
||||||
archives javadocJar
|
archives javadocJar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!name.equals('worldedit-forge')) {
|
||||||
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||||
|
classifier = 'sources'
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
}
|
||||||
|
|
||||||
|
artifacts {
|
||||||
|
archives sourcesJar
|
||||||
|
}
|
||||||
|
build.dependsOn(sourcesJar)
|
||||||
|
}
|
||||||
|
|
||||||
build.dependsOn(checkstyleMain)
|
build.dependsOn(checkstyleMain)
|
||||||
build.dependsOn(checkstyleTest)
|
build.dependsOn(checkstyleTest)
|
||||||
build.dependsOn(sourcesJar)
|
|
||||||
build.dependsOn(javadocJar)
|
build.dependsOn(javadocJar)
|
||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
|
@ -67,7 +67,9 @@ shadowJar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
reobf {
|
reobf {
|
||||||
shadowJar
|
shadowJar {
|
||||||
|
mappingType = 'SEARGE'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task deobfJar(type: Jar) {
|
task deobfJar(type: Jar) {
|
||||||
@ -79,4 +81,4 @@ artifacts {
|
|||||||
archives deobfJar
|
archives deobfJar
|
||||||
}
|
}
|
||||||
|
|
||||||
build.dependsOn(shadowJar)
|
build.dependsOn(reobfShadowJar)
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren