Skip to content

Commit 839bcfd

Browse files
committed
[BUILD] Fixing source and target compatibility versions for the scala compiler
fixes elastic#892
1 parent 1201690 commit 839bcfd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,9 @@ def baseSparkProject(target, sparkVersion) {
576576
jvmArgs = ['-XX:MaxPermSize=512m']
577577
}
578578
scalaCompileOptions.useAnt = false
579+
580+
sourceCompatibility = 1.6
581+
targetCompatibility = 1.6
579582
}
580583

581584
println "Using Scala $scalaMajorVersion [$scalaVersion]"

0 commit comments

Comments
 (0)