From: Steve Marion Date: Tue, 3 Jan 2023 16:08:42 +0000 (+0100) Subject: [NO JIRA] set ut-monitoring to use java 11 X-Git-Tag: 9.9.0.65466~121 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=73391cd42d7b209644f4269d67d8d3220650887b;p=sonarqube.git [NO JIRA] set ut-monitoring to use java 11 --- diff --git a/ut-monitoring/build.gradle b/ut-monitoring/build.gradle index 7cbf861e644..39fe958dac7 100644 --- a/ut-monitoring/build.gradle +++ b/ut-monitoring/build.gradle @@ -14,6 +14,10 @@ dependencies { compileOnlyApi 'org.aspectj:aspectjtools' } +tasks.withType(JavaCompile) { + options.release = 11 +} + sonar { skipProject = true }