How to make gradle build use jdk 1.6 in IntelliJ I

2019-07-28 23:57发布

问题:

I have a gradle project imported in IntelliJ IDEA, which is running with jdk 1.8. JAVA_HOME also configured with jdk 1.8. while this project specifically need gradle build run with jdk 1.6, anyone know any extra configuration needed?

回答1:

JVM used to run Gradle builds in IntelliJ IDEA can be changed here: