From e9d6e0e3470fa97d79063b0288f0e50d66f30f52 Mon Sep 17 00:00:00 2001 From: harlekin <5800926-mw102@users.noreply.gitlab.com> Date: Wed, 8 Sep 2021 13:14:12 +0000 Subject: [PATCH] Force java version to 11. --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index abd10e2..2ffabc4 100644 --- a/build.gradle +++ b/build.gradle @@ -3,6 +3,9 @@ plugins { id 'com.github.johnrengelman.shadow' version '7.0.0' } +sourceCompatibility = '1.11' //comment to poke gitlab CI +targetCompatibility = '1.11' + compileJava { // Suppress warnings about internal api usage - https://stackoverflow.com/a/19553686/6238618 options.fork = true