I need to disable the Gradle daemon in IntelliJ Idea, because somehow Scala plugin is not working with the daemon (the compilation fails with NullPointerException
NullPointerException
IntelliJ interacts with Gradle via the Gradle tooling API, which always uses the daemon. i.e. There is no way to turn it off.
What you could do (after filing a bug report) is not to use the IntelliJ Gradle integration but instead generate IntelliJ project files with
gradle idea