title: Gradle - Could not target platform: 'Java SE 8' using tool chain: 'JDK 7 (1.7)'
body: <p>I am trying to import Gradle project in Intellij Idea with local Gradle distrib and getting stacktrace with the following message: <code>Could not target platform: 'Java SE 8' using tool chain: 'JDK 7 (1.7)'</code>.
  Could anyone explain please what could be the reason? </p>