New configuration-on-demand causes Eclipse/IDEA/ToolingAPI to hang indefinitely

I added the following to gradle.properties: systemProp.org.gradle.configuration.ondemand=true

At command-line the project builds successfully. When importing the project into Eclipse using the Gradle IDE (v3.1) it hangs forever.

This is a known issue that won’t be fixed for the 1.4 release. The issue to track is GRADLE-2663.

You can try out the latest Gradle Nightly, where this issue has been resolved.

Great, thanks!