From 784db1e9c880a7628c9cd59b27b2d4286eb6b09a Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Fri, 26 Mar 2021 21:21:45 +0100 Subject: [PATCH] Include project name in jar --- buildSrc/src/main/kotlin/PlatformConfig.kt | 1 - worldedit-bukkit/build.gradle.kts | 1 + worldedit-cli/build.gradle.kts | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/PlatformConfig.kt b/buildSrc/src/main/kotlin/PlatformConfig.kt index 1c8beebf5..932506f6c 100644 --- a/buildSrc/src/main/kotlin/PlatformConfig.kt +++ b/buildSrc/src/main/kotlin/PlatformConfig.kt @@ -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*") diff --git a/worldedit-bukkit/build.gradle.kts b/worldedit-bukkit/build.gradle.kts index 29cef16ad..b0a143481 100644 --- a/worldedit-bukkit/build.gradle.kts +++ b/worldedit-bukkit/build.gradle.kts @@ -160,6 +160,7 @@ tasks.named("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") diff --git a/worldedit-cli/build.gradle.kts b/worldedit-cli/build.gradle.kts index a67caa684..4dd986639 100644 --- a/worldedit-cli/build.gradle.kts +++ b/worldedit-cli/build.gradle.kts @@ -23,6 +23,7 @@ tasks.named("shadowJar") { dependencies { include { true } } + archiveFileName.set("FastAsyncWorldEdit-CLI-${project.version}.jar") minimize { exclude(dependency("org.apache.logging.log4j:log4j-core")) }