mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-21 18:48:51 -04:00
35 lines
832 B
Groovy
35 lines
832 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = 'org.lwjgl.glfw'
|
|
|
|
configurations.default.setCanBeResolved(true)
|
|
|
|
jar {
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
archiveBaseName = "lwjgl-glfw-classes"
|
|
destinationDirectory.set(file("../app_pojavlauncher/src/main/assets/components/lwjgl3/"))
|
|
if (gitUsed()){
|
|
File versionFile = file("../app_pojavlauncher/src/main/assets/components/lwjgl3/version")
|
|
versionFile.write(getGitHash(project.projectDir))
|
|
}
|
|
from {
|
|
configurations.default.collect {
|
|
println(it.getName())
|
|
it.isDirectory() ? it : zipTree(it)
|
|
}
|
|
}
|
|
exclude 'net/java/openjdk/cacio/ctc/**'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
}
|