Removed a bunch of stray dependencies, and now the desktop project can now be run by gradle from the command line.

This commit is contained in:
Relintai 2017-10-08 16:48:21 +02:00
parent 12ffd2a033
commit 5eefbdfe51
2 changed files with 1 additions and 16 deletions

View File

@ -132,10 +132,6 @@ project(":forge-gui-mobile-desktop") {
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion" compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop" compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop" compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
compile "com.miglayout:miglayout:3.5.5"
compile "com.mortennobel:java-image-scaling:0.8.5"
compile "org.freemarker:freemarker:2.3.20"
compile "javazoom:jlayer:1.0.1"
} }
} }
@ -153,10 +149,6 @@ project(":forge-gui-mobile-ios-moe") {
compile "com.badlogicgames.gdx:gdx-backend-moe:$gdxVersion" compile "com.badlogicgames.gdx:gdx-backend-moe:$gdxVersion"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios" natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios" compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
compile "com.miglayout:miglayout:3.5.5"
compile "com.mortennobel:java-image-scaling:0.8.5"
compile "org.freemarker:freemarker:2.3.20"
compile "javazoom:jlayer:1.0.1"
} }
} }
@ -177,13 +169,6 @@ project(":forge-gui-mobile-ios") {
compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion" compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios" compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios" compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
compile "com.miglayout:miglayout:3.5.5"
compile "com.mortennobel:java-image-scaling:0.8.5"
compile "org.freemarker:freemarker:2.3.20"
compile "javazoom:jlayer:1.0.1"
} }
} }

View File

@ -4,7 +4,7 @@ sourceCompatibility = 1.7
sourceSets.main.java.srcDirs = [ "src" ] sourceSets.main.java.srcDirs = [ "src" ]
project.ext.mainClassName = "forge.app.Main" project.ext.mainClassName = "forge.app.Main"
project.ext.assetsDir = new File("assets"); project.ext.assetsDir = file(new File("../forge-gui"));
task run(dependsOn: classes, type: JavaExec) { task run(dependsOn: classes, type: JavaExec) {
main = project.mainClassName main = project.mainClassName