I figured it out. It seems that Gradle completely ignores
the sourceCompatibility & targetCompatibility properties as it relates to
compiling Scala code.
I was able to get Kafka's Scala code to compile to Java 8 bytecode by
adding the following to the build.gradle:
task
Hello,
I'm trying to build Kafka 0.9.0.1 using JDK8, so that it generates JDK8
compatible class files. However, no matter what I try, it seems the class
files generated are for JDK6. I've tried setting sourceCompatibility
and targetCompatibility to 1.8 to no avail.
$ pwd