aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-04 15:14:45 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-04 15:14:45 -0700
commitf24d4a256a8fc8e045f14ae9447f80ef9b8b28fd (patch)
tree740b468718527a6a19bfc6ecb783e935a33a32b1
parentaeac485a8fea8012dab2465b0a6aa43137de1b57 (diff)
downloadtraccar-server-f24d4a256a8fc8e045f14ae9447f80ef9b8b28fd.tar.gz
traccar-server-f24d4a256a8fc8e045f14ae9447f80ef9b8b28fd.tar.bz2
traccar-server-f24d4a256a8fc8e045f14ae9447f80ef9b8b28fd.zip
Change Java version to 11
-rw-r--r--build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index cd1a5e81e..20f329a45 100644
--- a/build.gradle
+++ b/build.gradle
@@ -17,7 +17,7 @@ ext {
protobufVersion = "3.14.0"
}
-sourceCompatibility = "1.8"
+sourceCompatibility = "11"
compileJava.options.encoding = "UTF-8"
jar.destinationDirectory = file("$projectDir/target")
@@ -36,7 +36,7 @@ protobuf {
enforce {
rule(enforcer.rules.EnforceBytecodeVersion) { r ->
- r.maxJdkVersion = "1.8"
+ r.maxJdkVersion = "11"
}
}