import org.gradle.internal.os.OperatingSystem [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' eclipse.project.name = appName + '-core' dependencies { api "com.badlogicgames.gdx:gdx:$gdxVersion" api "com.badlogicgames.gdx:gdx-ai:$aiVersion" api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" api "com.badlogicgames.gdx:gdx-controllers:$gdxVersion" api "com.badlogicgames.ashley:ashley:$ashleyVersion" api "com.badlogicgames.box2dlights:box2dlights:$box2dlightsVersion" api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion" api "com.badlogicgames.gdx:gdx-bullet:$gdxVersion" api "com.github.czyzby:noise4j:$noise4jVersion" api "com.github.ykrasik:jaci-libgdx-cli-gwt:$jaciGwtVersion" api "com.sudoplay.joise:joise:$joiseVersion" api "com.github.czyzby:gdx-kiwi:$kiwiVersion" api "de.tomgrill.gdxdialogs:gdx-dialogs-core:$dialogsVersion" api "com.strongjoshua:libgdx-inGameConsole:$inGameConsoleVersion" api "net.dermetfan.libgdx-utils:libgdx-utils:$utilsVersion" api "net.dermetfan.libgdx-utils:libgdx-utils-box2d:$utilsBox2dVersion" api "com.underwaterapps.overlap2druntime:overlap2d-runtime-libgdx:$overlap2dVersion" api "com.github.ykrasik:jaci-libgdx-cli-java:$jaciVersion" } dependencies { switch (OperatingSystem.current()) { case OperatingSystem.WINDOWS: ext.lwjglNatives = "natives-windows" break case OperatingSystem.LINUX: ext.lwjglNatives = "natives-linux" break case OperatingSystem.MAC_OS: ext.lwjglNatives = "natives-macos" break } // Look up which modules and versions of LWJGL are required and add setup the approriate natives. configurations.compile.resolvedConfiguration.getResolvedArtifacts().forEach { if (it.moduleVersion.id.group == "org.lwjgl") { runtime "org.lwjgl:${it.moduleVersion.id.name}:${it.moduleVersion.id.version}:${lwjglNatives}" } } implementation 'com.github.kotlin-graphics.imgui:imgui:v1.75' implementation 'com.github.kotlin-graphics.imgui:imgui-bgfx:v1.75' implementation 'com.github.kotlin-graphics.imgui:imgui-core:v1.75' implementation 'com.github.kotlin-graphics.imgui:imgui-gl:v1.75' implementation 'com.github.kotlin-graphics.imgui:imgui-glfw:v1.75' implementation 'com.github.kotlin-graphics.imgui:imgui-jogl:v1.75' implementation 'com.github.kotlin-graphics.imgui:imgui-openjfx:v1.75' implementation 'com.github.kotlin-graphics.imgui:imgui-vk:v1.75' }