Support for running Gradle on Java 6
Running Gradle using Java 6 is now deprecated, and support will be removed in Gradle 3.0.
It will continue to be possible to build JVM based projects for Java 6, by running Gradle using Java 7 and configuring Gradle to use Java 6 to compile, test and run your code.
AFAIK there is no way how to specify compiler for scala and groovy. How this is going to work?