Using Eclipse Java Compiler with Gradle Tooling API

eclipse
tooling

#1

Hi, I am using the Tooling API to create and build a gradle project. I need to use the JDT compiler instead of the JDK but I am not sure how to specify that in my build. I think it is possible using gradle.properties but if it is not, is there any other way?