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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user