diff options
author | Anton Tananaev <anton@traccar.org> | 2024-06-01 14:22:43 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-06-01 14:22:43 -0700 |
commit | a18f7dece23790b87121102962dd370119c8dcbc (patch) | |
tree | 5e7907db3a36306402b47d2e5fc4567b0390756b /build.gradle | |
parent | 47d4ab2bad1806e3943a0e05ced7f8df7f8e1aca (diff) | |
download | trackermap-server-a18f7dece23790b87121102962dd370119c8dcbc.tar.gz trackermap-server-a18f7dece23790b87121102962dd370119c8dcbc.tar.bz2 trackermap-server-a18f7dece23790b87121102962dd370119c8dcbc.zip |
Fix build issue
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 1964d051a..029c4ae6d 100644 --- a/build.gradle +++ b/build.gradle @@ -9,13 +9,17 @@ repositories { mavenCentral() } -sourceCompatibility = "11" +java { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 +} + compileJava.options.encoding = "UTF-8" jar.destinationDirectory = file("$projectDir/target") checkstyle { toolVersion = "10.17.0" - configFile = "gradle/checkstyle.xml" as File + configFile = file("gradle/checkstyle.xml") checkstyleTest.enabled = false } |