title: The project uses Gradle 2.12 which is incompatible with IDEA running on Java 10 or newer
body: <p>When i import my Gradle Java project with <code>Intellij Idea</code> i get error</p>
  
  <pre><code>The project uses Gradle 2.12 which is incompatible with IDEA running on Java 10 or newer.
  </code></pre>
  
  <p>My Intellij Idea version is</p>
  
  <pre><code>IntelliJ IDEA 2019.2 (Community Edition)
  Build #IC-192.5728.98, built on July 23, 2019
  Runtime version: 1.8.0_211-b12 amd64
  VM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
  Linux 4.15.0-20-generic
  GC: ParNew, ConcurrentMarkSweep
  Memory: 1956M
  Cores: 4
  Registry: git.explicit.commit.renames.prohibit.multiple.calls=false
  Non-Bundled Plugins: 
  </code></pre>
  
  <p>How to fix this issue?</p>