mirror of
https://github.com/PojavLauncherTeam/PojavLauncher.git
synced 2025-12-28 05:14:37 +00:00
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
18 lines
563 B
Groovy
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/"))
|
|
}
|