CLI entrypoints for compiling your Java code from the Clojure CLI.
CLI entrypoints for compiling your Java code from the Clojure CLI.
(compile-aliases {:keys [aliases] :as opts})Compile java code in multiple stages, taking compiler arguments from aliases.
The opts map has the following keys:
:aliases, a vector of alias names containing argument maps for javacCompile java code in multiple stages, taking compiler arguments from aliases. The `opts` map has the following keys: - `:aliases`, a vector of alias names containing argument maps for [[javac]]
(javac opts)Compiles java code from the given paths, using its own set of dependencies.
The opts map has the following keys:
:compile-deps, a dependencies map (like the :deps key in a deps.edn
file):output-path, a file path to place the resulting class files into (default;
"classes"):compiler-options, a vector of options to pass to the compiler:source-paths, a vector of directories to find java files in (default;
["src/java"]):resource-paths, a vector of directories to include on the classpath:include-root-deps?, a boolean indicating if the project root dependencies
should be included for compilation (default; true)Compiles java code from the given paths, using its own set of dependencies. The `opts` map has the following keys: - `:compile-deps`, a dependencies map (like the `:deps` key in a `deps.edn` file) - `:output-path`, a file path to place the resulting class files into (default; "classes") - `:compiler-options`, a vector of options to pass to the compiler - `:source-paths`, a vector of directories to find java files in (default; ["src/java"]) - `:resource-paths`, a vector of directories to include on the classpath - `:include-root-deps?`, a boolean indicating if the project root dependencies should be included for compilation (default; true)
(prep-lib _)Builds the project using the alias specified in :deps/prep-lib.
Takes one argument which is ignored as it is always nil when used with :deps/prep-lib.
Builds the project using the alias specified in :deps/prep-lib. Takes one argument which is ignored as it is always nil when used with :deps/prep-lib.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |