Skip to content

Commit c1bd60e

Browse files
committed
Don't disable Gradle daemon by default
When Gradle support was originally added to cider in 2015, the default was set to disable Gradle's daemon [1] which Gradle uses to keep a warm JVM around to reuse for future runs. While I know there are some strong opinions about its use of a daemon, this is the default behavior of Gradle and I don't think we have any strong reasons to disable it in this case. It's possible in 2015 the daemon was less stable or more of a hog, but I don't believe that's true nowadays. [1] https://docs.gradle.org/current/userguide/gradle_daemon.html
1 parent f422665 commit c1bd60e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
* Upgrade injected `cider-nrepl` to [0.28.5](https://github.com/clojure-emacs/cider-nrepl/releases/tag/v0.28.5).
1313
* [#3200](https://github.com/clojure-emacs/cider/issues/3200): Improve cider-browse-ns interface to allow selective hiding of var types as well as grouping options. Include private vars in result list.
14+
* Changed default `cider-gradle-command` to `./gradlew` to use the Gradle wrapper
15+
* Changed default `cider-gradle-global-options` to `""` (empty, formerly `--no-daemon`)
1416

1517
## 1.4.1 (2022-05-25)
1618

cider.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ By default we favor the project-specific shadow-cljs over the system-wide."
196196
:package-version '(cider . "0.10.0"))
197197

198198
(defcustom cider-gradle-global-options
199-
"--no-daemon"
199+
""
200200
"Command line options used to execute Gradle (e.g.: -m for dry run)."
201201
:type 'string
202202
:safe #'stringp

0 commit comments

Comments
 (0)