mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Read WE version from manifest ourselves
(cherry picked from commit 947775b5e54aa9dd89d68ee0b382939796301902)
This commit is contained in:
@ -25,12 +25,7 @@ sponge {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named<Jar>("jar") {
|
||||
manifest {
|
||||
attributes("Class-Path" to "truezip.jar WorldEdit/truezip.jar js.jar WorldEdit/js.jar",
|
||||
"WorldEdit-Version" to project.version)
|
||||
}
|
||||
}
|
||||
addJarManifest(includeClasspath = true)
|
||||
|
||||
tasks.named<ShadowJar>("shadowJar") {
|
||||
dependencies {
|
||||
@ -50,4 +45,4 @@ if (project.hasProperty("signing")) {
|
||||
tasks.named("build").configure {
|
||||
dependsOn("signShadowJar")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user