83 lines
2.6 KiB
Groovy
83 lines
2.6 KiB
Groovy
buildscript {
|
|
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
jcenter()
|
|
google()
|
|
}
|
|
dependencies {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: "eclipse"
|
|
|
|
version = '1.0'
|
|
ext {
|
|
appName = "my-gdx-game"
|
|
gdxVersion = '1.9.11-SNAPSHOT'
|
|
roboVMVersion = '2.3.8'
|
|
box2DLightsVersion = '1.4'
|
|
ashleyVersion = '1.7.0'
|
|
aiVersion = '1.8.0'
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
jcenter()
|
|
google()
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
|
|
}
|
|
}
|
|
|
|
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 "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
|
|
api "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
|
|
api "com.badlogicgames.gdx:gdx-bullet-platform:$gdxVersion:natives-desktop"
|
|
api "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
|
|
api "com.badlogicgames.gdx:gdx-controllers-desktop:$gdxVersion"
|
|
api "com.badlogicgames.gdx:gdx-controllers-platform:$gdxVersion:natives-desktop"
|
|
api "de.tomgrill.gdxdialogs:gdx-dialogs-desktop:1.2.5"
|
|
|
|
}
|
|
}
|
|
|
|
project(":core") {
|
|
apply plugin: "java-library"
|
|
|
|
|
|
dependencies {
|
|
api "com.badlogicgames.gdx:gdx:$gdxVersion"
|
|
api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
|
|
api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
|
|
api "com.badlogicgames.gdx:gdx-bullet:$gdxVersion"
|
|
api "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
|
|
api "com.badlogicgames.ashley:ashley:$ashleyVersion"
|
|
api "com.badlogicgames.gdx:gdx-ai:$aiVersion"
|
|
api "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
|
|
api "com.esotericsoftware.spine:spine-libgdx:3.6.53.1"
|
|
api "com.underwaterapps.overlap2druntime:overlap2d-runtime-libgdx:0.1.0"
|
|
api "com.kotcrab.vis:vis-ui:1.3.0"
|
|
api "net.dermetfan.libgdx-utils:libgdx-utils:0.13.4"
|
|
api "net.dermetfan.libgdx-utils:libgdx-utils-box2d:0.13.4"
|
|
api "de.tomgrill.gdxdialogs:gdx-dialogs-core:1.2.5"
|
|
api "com.github.czyzby:gdx-kiwi:1.9.1.9.6"
|
|
|
|
}
|
|
|
|
} |