plugins { id 'application' id 'com.github.johnrengelman.shadow' version '7.1.2' } version = "0.0.1" sourceCompatibility = 17 targetCompatibility = 17 repositories { mavenCentral() } //applicationDefaultJvmArgs = ["-javaagent:lwjglx-debug-1.0.0.jar"] //project.ext.lwjglNatives = "natives-linux-arm64" project.ext.lwjglNatives = "natives-linux" dependencies { implementation platform("org.lwjgl:lwjgl-bom:3.3.1") implementation "org.lwjgl:lwjgl" implementation "org.lwjgl:lwjgl-glfw" implementation "org.lwjgl:lwjgl-opengl" implementation "org.lwjgl:lwjgl-stb" runtimeOnly "org.lwjgl:lwjgl::$lwjglNatives" runtimeOnly "org.lwjgl:lwjgl-glfw::$lwjglNatives" runtimeOnly "org.lwjgl:lwjgl-opengl::$lwjglNatives" runtimeOnly "org.lwjgl:lwjgl-stb::$lwjglNatives" implementation "org.joml:joml:1.10.4" implementation 'org.reflections:reflections:0.10.2' implementation 'org.slf4j:slf4j-nop:1.7.32' } application { mainClass = 'ity.opencraft.Main' } jar { manifest { attributes 'Main-Class': 'ity.opencraft.Main' } }