1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-19 14:59:20 +00:00

Fixed a circular dependency issue when a locale couldn't be found

This commit is contained in:
Tim203
2022-08-30 11:54:26 +02:00
parent 13aec4e083
commit 7e930afcef
4 changed files with 20 additions and 3 deletions

View File

@@ -31,6 +31,11 @@ tasks {
// for example Velocity, the relocation will be gone for Velocity)
addRelocations(project, sJar)
}
val destinationDir = System.getenv("DESTINATION_DIRECTORY");
if (destinationDir != null) {
destinationDirectory.set(file(destinationDir))
}
}
named("build") {
dependsOn(shadowJar)