aboutsummaryrefslogtreecommitdiffstats
path: root/ut-monitoring/build.gradle
diff options
context:
space:
mode:
authorSteve Marion <unknown>2023-01-03 17:08:42 +0100
committersonartech <sonartech@sonarsource.com>2023-01-03 20:03:04 +0000
commit73391cd42d7b209644f4269d67d8d3220650887b (patch)
tree57ab54f0290134fce03d8a65f629e3d9a2b687b8 /ut-monitoring/build.gradle
parent35e6d99c2a9e0426f5800f4087e02ca383224c6b (diff)
downloadsonarqube-73391cd42d7b209644f4269d67d8d3220650887b.tar.gz
sonarqube-73391cd42d7b209644f4269d67d8d3220650887b.zip
[NO JIRA] set ut-monitoring to use java 11
Diffstat (limited to 'ut-monitoring/build.gradle')
-rw-r--r--ut-monitoring/build.gradle4
1 files changed, 4 insertions, 0 deletions
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
}