mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Change output jar name
This commit is contained in:
parent
7fb3899bb7
commit
74ec39d67b
@ -39,6 +39,10 @@ ext {
|
||||
date = git.head().date.format("yy.MM.dd")
|
||||
revision = "-${git.head().abbreviatedId}"
|
||||
index = 0; // Offset to match CI
|
||||
for (; parents != null && !parents.isEmpty(); index++) {
|
||||
commit = git.getResolve().toCommit(parents.get(0));
|
||||
parents = commit.getParentIds()
|
||||
}
|
||||
buildNumber = "-${index}"
|
||||
} catch (Throwable ignore) {
|
||||
revision = "unknown";
|
||||
|
@ -1,3 +1,3 @@
|
||||
rootProject.name = 'worldedit'
|
||||
rootProject.name = 'FastAsyncWorldEdit'
|
||||
|
||||
include 'worldedit-core', 'worldedit-bukkit'
|
@ -54,7 +54,7 @@ shadowJar {
|
||||
dependencies {
|
||||
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'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user