Created
March 5, 2021 08:36
-
-
Save noncom/b78f8c53f5968bd448742c8370a02779 to your computer and use it in GitHub Desktop.
jme kotlin example build gradle with serialization that builds ok
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java' | |
id 'org.jetbrains.kotlin.jvm' version '1.4.30' | |
id 'org.jetbrains.kotlin.plugin.serialization' version '1.4.30' | |
} | |
group 'org.example' | |
version '1.0-SNAPSHOT' | |
ext.jmonkeyengineVersion = '3.3.2-stable' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
implementation "org.jmonkeyengine:jme3-core:$jmonkeyengineVersion" | |
implementation "org.jmonkeyengine:jme3-plugins:$jmonkeyengineVersion" | |
implementation "org.jmonkeyengine:jme3-effects:$jmonkeyengineVersion" | |
implementation "org.jmonkeyengine:jme3-desktop:$jmonkeyengineVersion" | |
runtimeOnly "org.jmonkeyengine:jme3-lwjgl:$jmonkeyengineVersion" // LWJGL 2.x | |
//runtimeOnly "org.jmonkeyengine:jme3-lwjgl3:$jmonkeyengineVersion" // LWJGL 3.x | |
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.1.0" | |
} | |
compileKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} | |
compileTestKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment