diff --git a/build.gradle b/build.gradle
index 3c3634222..f57b21dc1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -78,6 +78,7 @@ checkstyleNohttp {
}
tasks.withType(JavaCompile).configureEach {
+ options.release = 17
options.errorprone {
disableAllChecks = true
}
diff --git a/pom.xml b/pom.xml
index 9c852088f..d512e01ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,6 +19,7 @@
25
+ 17
UTF-8
UTF-8
@@ -289,10 +290,10 @@
default-compile
+ compile
compile
- compile
-XDcompilePolicy=simple