mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2026-08-28 05:45:03 -06:00
Update build.gradle
Task "jre_lwjgl3glfw:jar": add duplicates strategy
This commit is contained in:
parent
3b7b16c7d2
commit
d42c81724c
1 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,8 @@ 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()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue