mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-18 08:36:56 -04:00
25 lines
723 B
Groovy
25 lines
723 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) }
|
|
}
|
|
File versionFile = file("../app_pojavlauncher/src/main/assets/components/forge_installer/version")
|
|
versionFile.write(String.valueOf(new Date().getTime()))
|
|
manifest {
|
|
attributes("Manifest-Version": "1.0",
|
|
"PreMain-Class": "git.artdeell.installer_agent.Agent")
|
|
}
|
|
destinationDirectory.set(file("../app_pojavlauncher/src/main/assets/components/forge_installer/"))
|
|
} |