Files
Amethyst-Android/forge_installer/build.gradle
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

28 lines
742 B
Groovy

plugins {
id 'java-library'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
implementation 'org.json:json:20230618'
}
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
if (gitUsed()){
File versionFile = file("../app_pojavlauncher/src/main/assets/components/forge_installer/version")
versionFile.write(getGitHash(project.name))
}
manifest {
attributes("Manifest-Version": "1.0",
"PreMain-Class": "git.artdeell.installer_agent.Agent")
}
destinationDirectory.set(file("../app_pojavlauncher/src/main/assets/components/forge_installer/"))
}