diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index 029c4ae6d..be2528809 100644 --- a/build.gradle +++ b/build.gradle @@ -10,8 +10,8 @@ repositories { } java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } compileJava.options.encoding = "UTF-8" @@ -24,8 +24,9 @@ checkstyle { } enforce { + // noinspection UnnecessaryQualifiedReference rule(enforcer.rules.EnforceBytecodeVersion) { r -> - r.maxJdkVersion = "11" + r.maxJdkVersion = "17" } } |