Skip to content
Snippets Groups Projects
Commit 64f7ba2c authored by Leonard's avatar Leonard
Browse files

correct java version

parent 0d384eb9
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,11 @@ allprojects { ...@@ -41,7 +41,11 @@ allprojects {
project(":desktop") { project(":desktop") {
apply plugin: "java-library" apply plugin: "java-library"
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies { dependencies {
implementation project(":core") implementation project(":core")
api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion" api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
...@@ -65,7 +69,11 @@ project(":desktop") { ...@@ -65,7 +69,11 @@ project(":desktop") {
project(":core") { project(":core") {
apply plugin: "java-library" apply plugin: "java-library"
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies { dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion" api "com.badlogicgames.gdx:gdx:$gdxVersion"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment