mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-23 13:10:54 +07:00
HOT DAMN Unciv now works from desktop:dist and the command line!
This commit is contained in:
parent
8729100993
commit
292ca7a908
@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user