diff options
author | Anton Tananaev <anton@traccar.org> | 2024-07-06 17:06:08 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-07-06 17:06:08 -0700 |
commit | 747a5d5c9109474ba2727b29b2700c192d041353 (patch) | |
tree | e1984c9c7917005f938f522a96fbb3e0a7653044 | |
parent | 381e25ab358de59c5b55a65767ada98b80d6d0f6 (diff) | |
download | trackermap-server-747a5d5c9109474ba2727b29b2700c192d041353.tar.gz trackermap-server-747a5d5c9109474ba2727b29b2700c192d041353.tar.bz2 trackermap-server-747a5d5c9109474ba2727b29b2700c192d041353.zip |
Upgrade to Java 17
-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" } } |