PojavLauncher/arc_dns_injector/build.gradle
BuildTools 30ec1e2df8 Fully automated Forge version list and installation
LexManos may feel free to fuck off ngl
Also: makes the Arc DNS injector and the Forge installer separate components instead of non-overwritable assets, so that we can actually update them on the user's end
2023-06-25 14:27:48 +03:00

18 lines
563 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")
}
File versionFile = file("../app_pojavlauncher/src/main/assets/components/arc_dns_injector/version")
versionFile.write(String.valueOf(new Date().getTime()))
destinationDirectory.set(file("../app_pojavlauncher/src/main/assets/components/arc_dns_injector/"))
}