Is there a command or a Gradle task that can be ru...
# build-tools
p
Is there a command or a Gradle task that can be run to kill the Kotlin compiler daemon? I have a project with many modules with the following scenario: - I'd like to not have the daemon taking up resources on our CI servers after my build is finished - I've tried running the Kotlin compiler using "in-process" strategy but I seem to always run out of memory during Android dex task (-Xmx6g is as big as I’m able to go on our CI servers) - I've tried running the Kotlin compiler with the “out-of-process” strategy, but then the build performance suffers since a new compiler is spun up for each module I'd like to see if I can run the build with the Kotlin compiler daemon but then just kill it after the build. Then maybe at least I could get some of the benefits of running with the daemon without having the daemon taking up resources that could be used for other builds on those CI servers after my build is finished.