title: Gradle + Intellij IDEA 13 bug
body: <p>I'm trying to setup simple webapp with gradle 1.7, jetty 9.2 and intellij IDEA 13.</p>
  
  <p>Here some typical config lines of gradle build found in tutorials I'm using:</p>
  
  <pre><code>apply plugin: 'jetty'
  
  sourceCompatibility = 1.5
  version = '1.1'
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      providedCompile 'javax.servlet:servlet-api:2.5'
      // other dependencies
  }
  </code></pre>
  
  <p>Configuration to launch in IDEA is in <code>Edit Configurations...-&gt;Add-&gt;Gradle</code>, task is <code>jettyRun</code>.
  For the first run all works fine, jetty starts, the webapp is availailable in a browser.
  But if I change something in the <code>gradle.build</code> file and rerun the task following error will occur:</p>
  
  <pre><code>A problem occurred configuring root project 'gr3'.
  Could not open buildscript class cache for build file 'D:\Work\priv\gr3\build.gradle' (C:\Users\Sazankov_LY\.gradle\caches\1.7\scripts\build_546r8n6d85n2abfbi95h2qqmh4\ProjectScript\buildscript).
  
  Timeout waiting to lock buildscript class cache for build file 'D:\Work\priv\gr3\build.gradle' (C:\Users\Sazankov_LY\.gradle\caches\1.7\scripts\build_546r8n6d85n2abfbi95h2qqmh4\ProjectScript\buildscript). It is currently in use by another Gradle instance.
       Owner PID: unknown
       Our PID: 11948
       Owner Operation: unknown
       Our operation: 
       Lock file: C:\Users\Sazankov_LY\.gradle\caches\1.7\scripts\build_546r8n6d85n2abfbi95h2qqmh4\ProjectScript\buildscript\cache.properties.lock
  </code></pre>
  
  <p>The only way to continue working is restarting IDE</p>
  
  <p>Any ideas?</p>