I am trying to import Gradle project in Intellij Idea with local Gradle distrib and getting stacktrace with the following message: Could not target platform: \'Java SE
Finally I imported my Gradle project. These are the steps:
JAVA_HOME to JDK 8 (it was 7th previously) as I had
figured out by experiments that Gradle Wrapper could process the
project with JDK 8 only. org.gradle.java.homevariable) in windows user .gradle directory
as, I guessed, it didn't bring any additional value to Gradle.