How to disable Gradle daemon in IntelliJ Idea?

后端 未结 2 687
渐次进展
渐次进展 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:11

    Because of lack of support of old libraries I moved a project from gradle to maven build management tool. But Intellij always wanted me to trigger a gradle changes import: additionally to "Maven project needs to be updated", there was also a "Gradle project needs to be updated" when I did changes to i.e. dependencies in pom.xml, with no integration of gradle in the project source files at all, no wrapper etc.

    In my case I was able to get rid of Intellij bothering me with gradle by deleting the line in .idea/workspace.xml and deleting the file .idea/gradle.xml in Intellij IDEA Ultimate 2019.2.

提交回复
热议问题