We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f5d051 commit aa94742Copy full SHA for aa94742
1 file changed
build.gradle
@@ -15,12 +15,14 @@ description = 'Java client library for SEER*API'
15
16
println "Starting build using ${Jvm.current()}"
17
18
-// UTF-8 for all compilation tasks
19
-[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
20
-
21
-// fail the build if there are compiler warnings
22
tasks.withType(JavaCompile) {
23
- options.compilerArgs << "-Xlint:all" << "-Xlint:-processing" << "-Xlint:-serial" << "-Werror"
+ options.encoding = 'UTF-8'
+ options.compilerArgs << "-Xlint:all" << "-Xlint:-serial" << "-Werror"
+}
+
+java {
24
+ sourceCompatibility = JavaVersion.VERSION_1_8
25
+ targetCompatibility = JavaVersion.VERSION_1_8
26
}
27
28
repositories {
0 commit comments