aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle8
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
}