I discovered this when trying to set the gradle build to use the latest nightly.
To reproduce run './gradlew clean core:check' with Java 8 What I have found so far: - The ide subproject uses the workaround described here( http://issues.gradle.org/browse/GRADLE-1190) in order to have java and groovy source in different dirs - This no longer works when building with Java 8 - The workaround sets the java source dirs to empty, but when using Java 8 they somehow get re-populated before the end of the configuration phase - according to git bisect the commit that broke this is https://github.com/gradle/gradle/commit/0cbda5ff96de182c85035988c69dbf608693c485 Pez