From d070bfcae9561ced6b44b7e793cc3f71ac191420 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Sun, 9 Aug 2015 22:52:35 +0200 Subject: [PATCH] ensure the gradle build system uses Java 8 --- core/build.gradle | 2 +- desktop/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/build.gradle b/core/build.gradle index 03cd1be..13c049a 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -1,6 +1,6 @@ apply plugin: "java" -sourceCompatibility = 1.6 +sourceCompatibility = 1.8 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' sourceSets.main.java.srcDirs = [ "src/" ] diff --git a/desktop/build.gradle b/desktop/build.gradle index d11233f..7266caa 100644 --- a/desktop/build.gradle +++ b/desktop/build.gradle @@ -1,6 +1,6 @@ apply plugin: "java" -sourceCompatibility = 1.6 +sourceCompatibility = 1.8 sourceSets.main.java.srcDirs = [ "src/" ] project.ext.mainClassName = "com.mygdx.game.desktop.DesktopLauncher"