diff --git a/build.gradle b/build.gradle index 75262f93ac83f49a0fd8fb2bd49fe2a06aaffcf1..4e65487b87fee7f912e6da9e28e70c6d536afe49 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,11 @@ allprojects { project(":desktop") { apply plugin: "java-library" - + java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } + dependencies { implementation project(":core") api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion" @@ -65,7 +69,11 @@ project(":desktop") { project(":core") { apply plugin: "java-library" - + + java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } dependencies { api "com.badlogicgames.gdx:gdx:$gdxVersion"