Change output jar name

Dieser Commit ist enthalten in:
Jesse Boyd 2018-08-13 03:38:20 +10:00
Ursprung 7fb3899bb7
Commit 74ec39d67b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F
3 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -39,6 +39,10 @@ ext {
date = git.head().date.format("yy.MM.dd") date = git.head().date.format("yy.MM.dd")
revision = "-${git.head().abbreviatedId}" revision = "-${git.head().abbreviatedId}"
index = 0; // Offset to match CI index = 0; // Offset to match CI
for (; parents != null && !parents.isEmpty(); index++) {
commit = git.getResolve().toCommit(parents.get(0));
parents = commit.getParentIds()
}
buildNumber = "-${index}" buildNumber = "-${index}"
} catch (Throwable ignore) { } catch (Throwable ignore) {
revision = "unknown"; revision = "unknown";

Datei anzeigen

@ -1,3 +1,3 @@
rootProject.name = 'worldedit' rootProject.name = 'FastAsyncWorldEdit'
include 'worldedit-core', 'worldedit-bukkit' include 'worldedit-core', 'worldedit-bukkit'

Datei anzeigen

@ -54,7 +54,7 @@ shadowJar {
dependencies { dependencies {
include(dependency(':worldedit-core')) include(dependency(':worldedit-core'))
} }
archiveName = "${parent.name}-${project.name}-${parent.version}.jar" archiveName = "${parent.name}-${project.name.replaceAll("worldedit-", "")}-${parent.version}.jar"
destinationDir = file '../target' destinationDir = file '../target'
} }