54 lines
1.2 KiB
Groovy
54 lines
1.2 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
dependencies {
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: "eclipse"
|
|
version = '1.0'
|
|
ext {
|
|
appName = "demo4d"
|
|
gdxVersion = "1.10.0"
|
|
spairVersion = "1.86.0"
|
|
nativefilechooserVersion = "1.0.0"
|
|
}
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral {
|
|
metadataSources {
|
|
mavenPom()
|
|
artifact()
|
|
ignoreGradleMetadataRedirection()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
project(":desktop") {
|
|
apply plugin: "java-library"
|
|
dependencies {
|
|
implementation project(":core")
|
|
api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
|
|
api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
|
api "games.spooky.gdx:gdx-nativefilechooser-desktop:$nativefilechooserVersion"
|
|
}
|
|
}
|
|
|
|
project(":core") {
|
|
apply plugin: "java-library"
|
|
dependencies {
|
|
api "com.badlogicgames.gdx:gdx:$gdxVersion"
|
|
api "io.github.spair:imgui-java-binding:$spairVersion"
|
|
api "io.github.spair:imgui-java-lwjgl3:$spairVersion"
|
|
api "io.github.spair:imgui-java-natives-linux:$spairVersion"
|
|
api "io.github.spair:imgui-java-natives-macos:$spairVersion"
|
|
api "io.github.spair:imgui-java-natives-windows:$spairVersion"
|
|
api "games.spooky.gdx:gdx-nativefilechooser:$nativefilechooserVersion"
|
|
}
|
|
}
|