At work, we have four or five JVM options that are common to almost every invocation of the CLI via aliases in our
deps.edn file. Currently, we have
:jvm-opts duplicated into each alias.
It would reduce duplication if we could just say
:jvm-opts :common-opts in each alias and have a
:common-opts alias that specified the JVM options in just one place or, even better, if the
:jvm-opts vector could take a mix of keywords and strings and look up the keywords as aliases and merge that data in.
This would make
:jvm-opts consistent with
:extra-paths and help reduce duplication in
In our specific case, we could then do the following:
;; under :aliases
;; in a specific alias
:jvm-opts [:common-jvm-opts "-Dlogged-future=synchronous"]