Failed to refresh gradle project in IntelliJ IDEA 2016.1: Unknown method ScalaCompileOptions.getForce() : <p>I have a Gradle-based project primarily with Java code and a small subproject with Scala (a Gatling-based performance test).</p>

<p>I recently upgraded Gradle wrapper to v2.12, which is currently the latest version. 
And today I just updated IntelliJ Idea from v15 to v2016.1.</p>

<p>When I try to refresh the project from the Gradle files in Idea, I get this error.</p>

<pre><code>Error:Cause: org.gradle.api.tasks.scala.ScalaCompileOptions.getForce()Ljava/lang/String;
</code></pre>

<p>I noticed when searching on Google, that the method getForce() (returning a String) apparently has been replaced by isForce() (returning a boolean).</p>

<p>If i downgrade Gradle wrapper to v2.11 the problem disappears.
Is there anything else I can do to fix the problem?</p>
