Variable: cider-build-tool-files
cider-build-tool-files is a customizable variable defined in
cider-util.el.
Value
("project.clj" "build.boot" "build.gradle" "build.gradle.kts" "deps.edn" "shadow-cljs.edn" "bb.edn" "nbb.edn" "basilisp.edn")
Documentation
Files indicating the root of a Clojure project.
Used by cider-project-dir to locate the nearest enclosing build-tool
file, walking up from the current buffer.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-util.el
(defcustom cider-build-tool-files
'("project.clj" ; Leiningen
"build.boot" ; Boot
"build.gradle" ; Gradle
"build.gradle.kts" ; Gradle Kotlin
"deps.edn" ; Clojure CLI (tools.deps)
"shadow-cljs.edn" ; shadow-cljs
"bb.edn" ; babashka
"nbb.edn" ; nbb
"basilisp.edn" ; Basilisp (Python)
)
"Files indicating the root of a Clojure project.
Used by `cider-project-dir' to locate the nearest enclosing build-tool
file, walking up from the current buffer."
:type '(repeat string)
:group 'cider
:safe (lambda (value)
(and (listp value)
(seq-every-p #'stringp value))))