How to disable Gradle daemon in IntelliJ Idea?

后端 未结 2 689
渐次进展
渐次进展 2020-12-14 15:30

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

2条回答
  •  一向
    一向 (楼主)
    2020-12-14 16:20

    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

提交回复
热议问题