From 62c8e9813335d63309b559cb03700890284b9dc2 Mon Sep 17 00:00:00 2001 From: obigu Date: Thu, 28 Dec 2023 14:19:12 +0100 Subject: [PATCH] Set GdxSetup source level to java 8 --- .../res/com/badlogic/gdx/setup/resources/core/build.gradle | 2 +- .../res/com/badlogic/gdx/setup/resources/html/build.gradle | 2 +- .../res/com/badlogic/gdx/setup/resources/ios/build.gradle | 2 +- .../res/com/badlogic/gdx/setup/resources/lwjgl2/build.gradle | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/core/build.gradle b/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/core/build.gradle index d192d041d21..0cad2eca8a7 100644 --- a/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/core/build.gradle +++ b/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/core/build.gradle @@ -1,4 +1,4 @@ -sourceCompatibility = 1.7 +sourceCompatibility = 1.8 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' sourceSets.main.java.srcDirs = [ "src/" ] diff --git a/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/html/build.gradle b/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/html/build.gradle index fcbc2bd8545..247c43aabbe 100644 --- a/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/html/build.gradle +++ b/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/html/build.gradle @@ -86,7 +86,7 @@ tasks.compileGwt.dependsOn(addSource) tasks.draftCompileGwt.dependsOn(addSource) tasks.checkGwt.dependsOn(addSource) -sourceCompatibility = 1.7 +sourceCompatibility = 1.8 sourceSets.main.java.srcDirs = [ "src/" ] eclipse.project.name = appName + "-html" diff --git a/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/ios/build.gradle b/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/ios/build.gradle index dddaef2977b..9b9e2c256ba 100644 --- a/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/ios/build.gradle +++ b/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/ios/build.gradle @@ -1,6 +1,6 @@ sourceSets.main.java.srcDirs = [ "src/" ] -sourceCompatibility = '1.7' +sourceCompatibility = '1.8' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' ext { diff --git a/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/lwjgl2/build.gradle b/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/lwjgl2/build.gradle index 5022219597f..d7eeee0cfec 100644 --- a/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/lwjgl2/build.gradle +++ b/extensions/gdx-setup/res/com/badlogic/gdx/setup/resources/lwjgl2/build.gradle @@ -1,4 +1,4 @@ -sourceCompatibility = 1.7 +sourceCompatibility = 1.8 sourceSets.main.java.srcDirs = [ "src/" ] sourceSets.main.resources.srcDirs = ["../%ASSET_PATH%"]