Disabling compilation works well on the command line and with Eclipse's JDT compiler but causes problems in IntelliJ when not delegating to Gradle.