From a9a07ff47d2c5dfb144effae2fa694fce9cae422 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Tue, 18 Jun 2024 11:33:49 +0200 Subject: [PATCH] Set java source compatibility --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 48791e21..04b8a0af 100644 --- a/build.gradle +++ b/build.gradle @@ -33,6 +33,10 @@ allprojects { apply plugin: 'kotlin' apply plugin: 'com.diffplug.spotless' + java { + targetCompatibility = JavaVersion.VERSION_1_8 + } + compileJava { options.release = 8 }