Description: raising language level as the default one does not permit some
 constructions in the code
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2023-12-14

--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,6 @@
 // PLUGINS
 plugins {
+    id 'java'
     id 'java-library'
 }
 
@@ -32,6 +33,11 @@
     }
 }
 
+compileJava {
+    sourceCompatibility = '17'
+    targetCompatibility = '17'
+}
+
 // test task
 tasks.withType(Test) {
 
