title: Launched gradle with a test with the --no-daemon parameter but the daemon is launched anyway
body: <p>I'm trying to debug some unit tests I've written but the gradle daemon seems to always launch, ignoring any options I've set.</p>
  
  <p>Using Mac OS X 10.9.5, Java 1.7, Gradle 2.2.1 and robolectric-gradle-plugin 0.14.1</p>
  
  <p>Launching gradle with: </p>
  
  <pre><code>GRADLE_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006"    
  ./gradlew test --no-daemon -Dorg.gradle.debug=true
  </code></pre>
  
  <p>causes the following line to appear</p>
  
  <pre><code>To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.2.1/userguid....
  </code></pre>
  
  <p>I've also tried setting the -Xdebug and Xrunjdwp as jvmArgs in build.gradle.</p>
  
  <p>Nothing else happens but if I add -d and rerun, it turns out that the daemon has launched and is waiting on port 5005 for a debugger: <a href="http://pastebin.com/TqaXubmr" rel="nofollow">http://pastebin.com/TqaXubmr</a></p>
  
  <p>Finally, if I then launch a debugger attaching to port 5005 the tests run but none of the breakpoints are hit.</p>
  
  <p>The gradle.properties is empty, I haven't set org.gradle.jvmargs.</p>