Updated Libgdx to a newer version to add gui to the game. This sadly broke the player sprite :/
This commit is contained in:
108
build.gradle
108
build.gradle
@@ -1,84 +1,44 @@
|
||||
buildscript {
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
google()
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
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/" }
|
||||
}
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'idea'
|
||||
}
|
||||
|
||||
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"
|
||||
compile "org.mini2Dx:universal-tween-engine:6.3.3"
|
||||
|
||||
}
|
||||
configure(subprojects) {
|
||||
apply plugin: 'java-library'
|
||||
sourceCompatibility = 8.0
|
||||
compileJava {
|
||||
options.incremental = true
|
||||
}
|
||||
}
|
||||
|
||||
project(":core") {
|
||||
apply plugin: "java-library"
|
||||
subprojects {
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
ext.appName = 'Collevtor'
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
||||
maven { url 'https://jitpack.io' }
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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"
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
// Clearing Eclipse project data in root folder:
|
||||
tasks.eclipse.doLast {
|
||||
delete '.project'
|
||||
delete '.classpath'
|
||||
delete '.settings/'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user