alexytomi 2387817f4f
Fix last PR's issues with building (#6773)
* fix(submodules): Remove broken, unused gl4es submodule

* fix(build): Git checks had typo

version also gets updated here because I changed their build.gradle
2025-03-29 19:26:57 -06:00

21 lines
582 B
Groovy

plugins {
id 'java-library'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
jar {
manifest {
attributes("Manifest-Version": "1.0",
"PreMain-Class": "git.artdeell.arcdns.ArcDNSInjectorAgent")
}
if (gitUsed()){
File versionFile = file("../app_pojavlauncher/src/main/assets/components/arc_dns_injector/version")
versionFile.write(getGitHash(project.name))
}
destinationDirectory.set(file("../app_pojavlauncher/src/main/assets/components/arc_dns_injector/"))
}