How to disable Gradle daemon in IntelliJ Idea?

Anatoliy Kmetyuk

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). I have tried to edit my IntelliJ Gradle build configurations to include a JVM system parameter -Dorg.gradle.daemon=false:

enter image description here

Also I've tried to use --no-daemon flag at the same place (Script parameters and VM options). Also I've tried to specify these options in the Preferences -> Gradle menu of IntelliJ. None of these attempts gave any result, the daemon continue to start, so I have to kill it before running/compiling for the second time.

enter image description here

Neither disabling daemon explicit in ~/.gradle/gradle.properties according to https://docs.gradle.org/current/userguide/gradle_daemon.html#N10473 doesn't have any effect.

How can I disable the Gradle daemon usage in IntelliJ Idea?

Peter Niederwieser

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

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to force Intellij IDEA to use only one gradle daemon?

From Dev

Gradle daemon not reused when running in debug mode (in IntelliJ IDEA)

From Dev

How to disable triple click in IntelliJ IDEA?

From Dev

How to pass arguments to Gradle from IntelliJ IDEA

From Dev

How to pass arguments to Gradle from IntelliJ IDEA

From Dev

Intellij IDEA and Gradle projects

From Java

Intellij IDEA 13: how do I disable refactor comments and strings?

From Dev

Intellij IDEA: Pinned tabs, close will close. How to disable?

From Dev

How to disable Maven auto import automatically in IntelliJ IDEA?

From Dev

How do I disable some inspections for modules in IntelliJ IDEA?

From Dev

How to disable folding of `: Unit =` in scala procedures in Intellij IDEA?

From Dev

How to disable Android Studio / IntelliJ IDEA clipboard management on OSX

From Dev

How to disable pom.xml validation in IntelliJ IDEA

From Dev

How to disable pom.xml validation in IntelliJ IDEA

From Dev

Intellij IDEA on mac: how to disable pinch gesture for zooming

From Dev

IntelliJ Idea - how to disable properties substitution in spring config files?

From Dev

How to disable orientation change in AIR SDK for Android using Intellij IDEA

From Dev

Disable debugging info in intellij IDEA

From Dev

Disable code folding in IntelliJ Idea?

From Dev

Disable ALL hints in IntelliJ IDEA

From Dev

How to add google play services in IntelliJ IDEA 13 with gradle

From Dev

How to debug specific build variant of Android Gradle project in IntelliJ IDEA?

From Java

How to change the version of the 'default gradle wrapper' in IntelliJ IDEA?

From Dev

How to use an existing Gradle project in IntelliJ IDEA 13/14

From Dev

How to add jars / dependecies via gradle in IntelliJ IDEA

From Dev

How to set system properties in IntelliJ IDEA 13 gradle task?

From Dev

How to add external module to a gradle project in Intellij IDEA 14?

From Dev

How does one enable Infinitest on a gradle project in IntelliJ IDEA 15?

From Dev

IntelliJ IDEA: How to run gradle application plugin run task with --args

Related Related

  1. 1

    How to force Intellij IDEA to use only one gradle daemon?

  2. 2

    Gradle daemon not reused when running in debug mode (in IntelliJ IDEA)

  3. 3

    How to disable triple click in IntelliJ IDEA?

  4. 4

    How to pass arguments to Gradle from IntelliJ IDEA

  5. 5

    How to pass arguments to Gradle from IntelliJ IDEA

  6. 6

    Intellij IDEA and Gradle projects

  7. 7

    Intellij IDEA 13: how do I disable refactor comments and strings?

  8. 8

    Intellij IDEA: Pinned tabs, close will close. How to disable?

  9. 9

    How to disable Maven auto import automatically in IntelliJ IDEA?

  10. 10

    How do I disable some inspections for modules in IntelliJ IDEA?

  11. 11

    How to disable folding of `: Unit =` in scala procedures in Intellij IDEA?

  12. 12

    How to disable Android Studio / IntelliJ IDEA clipboard management on OSX

  13. 13

    How to disable pom.xml validation in IntelliJ IDEA

  14. 14

    How to disable pom.xml validation in IntelliJ IDEA

  15. 15

    Intellij IDEA on mac: how to disable pinch gesture for zooming

  16. 16

    IntelliJ Idea - how to disable properties substitution in spring config files?

  17. 17

    How to disable orientation change in AIR SDK for Android using Intellij IDEA

  18. 18

    Disable debugging info in intellij IDEA

  19. 19

    Disable code folding in IntelliJ Idea?

  20. 20

    Disable ALL hints in IntelliJ IDEA

  21. 21

    How to add google play services in IntelliJ IDEA 13 with gradle

  22. 22

    How to debug specific build variant of Android Gradle project in IntelliJ IDEA?

  23. 23

    How to change the version of the 'default gradle wrapper' in IntelliJ IDEA?

  24. 24

    How to use an existing Gradle project in IntelliJ IDEA 13/14

  25. 25

    How to add jars / dependecies via gradle in IntelliJ IDEA

  26. 26

    How to set system properties in IntelliJ IDEA 13 gradle task?

  27. 27

    How to add external module to a gradle project in Intellij IDEA 14?

  28. 28

    How does one enable Infinitest on a gradle project in IntelliJ IDEA 15?

  29. 29

    IntelliJ IDEA: How to run gradle application plugin run task with --args

HotTag

Archive