I\'m trying to create a new Java 9 project using gradle but right after project creation I received error from gradle:
Error:BU
I have solved it by downgrading Gradle JVM to 8. It is not perfect but keeps you going while jdk9 and gradle and intellij stabilises.
Intellij View
Seems fixed in 2017.3
See IntelliJ IDEA 2017.3 173.2941.3 Release Notes: https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+2017.3+173.2941.3+Release+Notes
See issue: https://youtrack.jetbrains.com/issue/IDEA-171520
Setting the Gradle home to local Gradle distribution solved the issue in my case.
if we set to use default Gradle wrapper, IntelliJ downloads an earlier version of Gradle. I think it is the reason for failure.