https://kotlinlang.org logo
#intellij
Title
# intellij
n

Norbi

06/24/2022, 9:16 PM
Is it somehow possible in Idea to somehow automatically stop the Gradle daemons when the build is completed? I use Kotlin, and starting a Gradle daemon takes minor time (~1s) compared to the Kotlin compilation (from several seconds to lots of seconds). But sometimes the Gradle daemon keeps locking some files that makes the Idea build fail. Only stopping the daemons explicitly solves the problem (by
gradlew --stop
). I use Gradle 7.4.2. Thanks!
w

wasyl

06/24/2022, 9:24 PM
You can add
org.gradle.daemon=false
to your
gradle.properties
. I'd strongly encourage you to file bugs for everything that prevents you from using the daemon though
1
🙏 1
👍🏻 1
5 Views