Include project name in jar

This commit is contained in:
NotMyFault 2021-03-26 21:21:45 +01:00
parent adb99903de
commit 784db1e9c8
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
3 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,6 @@ fun Project.applyShadowConfiguration() {
include(project(":worldedit-core"))
exclude("com.google.code.findbugs:jsr305")
}
archiveFileName.set("FastAsyncWorldEdit-${project.version}.jar")
exclude("GradleStart**")
exclude(".cache")
exclude("LICENSE*")

View File

@ -160,6 +160,7 @@ tasks.named<ShadowJar>("shadowJar") {
from(zipTree("src/main/resources/worldedit-adapters.jar").matching {
exclude("META-INF/")
})
archiveFileName.set("FastAsyncWorldEdit-Bukkit-${project.version}.jar")
dependencies {
relocate("org.slf4j", "com.sk89q.worldedit.slf4j")
relocate("org.apache.logging.slf4j", "com.sk89q.worldedit.log4jbridge")

View File

@ -23,6 +23,7 @@ tasks.named<ShadowJar>("shadowJar") {
dependencies {
include { true }
}
archiveFileName.set("FastAsyncWorldEdit-CLI-${project.version}.jar")
minimize {
exclude(dependency("org.apache.logging.log4j:log4j-core"))
}