aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-07-06 17:06:08 -0700
committerAnton Tananaev <anton@traccar.org>2024-07-06 17:06:08 -0700
commit747a5d5c9109474ba2727b29b2700c192d041353 (patch)
treee1984c9c7917005f938f522a96fbb3e0a7653044 /build.gradle
parent381e25ab358de59c5b55a65767ada98b80d6d0f6 (diff)
downloadtrackermap-server-747a5d5c9109474ba2727b29b2700c192d041353.tar.gz
trackermap-server-747a5d5c9109474ba2727b29b2700c192d041353.tar.bz2
trackermap-server-747a5d5c9109474ba2727b29b2700c192d041353.zip
Upgrade to Java 17
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
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"
}
}