Update build.gradle

remove extraneous duplicates strategy
This commit is contained in:
NotAHero04 2022-10-19 22:34:35 +07:00 committed by GitHub
parent 2e43367af0
commit c32b38b521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,6 @@ jar {
//baseName = project.name
baseName = "lwjgl-glfw-classes"
destinationDirectory.set(file("../app_pojavlauncher/src/main/assets/components/lwjgl3/"))
// Add duplicates strategy
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
// Auto update the version with a timestamp so the project jar gets updated by Pojav
File versionFile = file("../app_pojavlauncher/src/main/assets/components/lwjgl3/version")
versionFile.write(String.valueOf(new Date().getTime()))