HOT DAMN Unciv now works from desktop:dist and the command line!

This commit is contained in:
Yair Morgenstern 2019-11-14 23:54:52 +02:00
parent 8729100993
commit 292ca7a908
2 changed files with 3 additions and 5 deletions

View File

@ -2,10 +2,6 @@ buildscript {
ext.kotlinVersion = '1.3.50'
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
repositories {
// Chinese mirrors for quicker loading for chinese devs
@ -20,6 +16,7 @@ buildscript {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
classpath 'com.android.tools.build:gradle:3.5.1'
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.1'
@ -66,6 +63,7 @@ project(":desktop") {
implementation "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-tools:$gdxVersion" // This is for the TexturePacker class
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}

View File

@ -3,7 +3,7 @@ apply plugin: "kotlin"
sourceCompatibility = 1.6
sourceSets.main.java.srcDirs = [ "src/" ]
project.ext.mainClassName = "DesktopLauncher"
project.ext.mainClassName = "com.unciv.app.desktop.DesktopLauncher"
project.ext.assetsDir = new File("../android/assets")
task run(dependsOn: classes, type: JavaExec) {