From 30f9d66fa52541a9f625b0c9a94837fb8f1f6bc4 Mon Sep 17 00:00:00 2001 From: Coen Houtman Date: Thu, 10 Sep 2020 21:43:22 +0200 Subject: [PATCH] Enforce java 1.8 compiler To hopefully fix the Travis build --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index f74e59f..1d0fe75 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,11 @@ if (project.hasProperty('newVersion')) { project.version = '1.0.33-SNAPSHOT' } +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + repositories { mavenCentral() mavenLocal()