3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

Include project name in jar

Dieser Commit ist enthalten in:
NotMyFault 2021-03-26 21:21:45 +01:00
Ursprung adb99903de
Commit 784db1e9c8
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C
3 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

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