Compile Java source files.
Compile Java source files.
(javac project & args)
Compile Java source files.
Add a :java-source-paths key to project.clj to specify where to find them.
Options passed in on the command line as well as options from the :javac-options
vector in project.clj will be given to the compiler; e.g. lein javac -verbose
.
Like the compile and deps tasks, this should be invoked automatically when needed and shouldn't ever need to be run by hand. By default it is called before compilation of Clojure source; change :prep-tasks to alter this.
Compile Java source files. Add a :java-source-paths key to project.clj to specify where to find them. Options passed in on the command line as well as options from the :javac-options vector in project.clj will be given to the compiler; e.g. `lein javac -verbose`. Like the compile and deps tasks, this should be invoked automatically when needed and shouldn't ever need to be run by hand. By default it is called before compilation of Clojure source; change :prep-tasks to alter this.
(javac-project-for-subprocess project subprocess-profile)
Merge profiles to create project appropriate for javac subprocess. This
function is mostly extracted to simplify testing, to validate that settings
like :local-repo
and :mirrors
are respected.
Merge profiles to create project appropriate for javac subprocess. This function is mostly extracted to simplify testing, to validate that settings like `:local-repo` and `:mirrors` are respected.
(normalize-javac-options opts)
Converts :javac-opts in Leiningen 1 format (passed as a map) into Leiningen 2 format (a vector). Options in Leiningen 2 format are returned unmodified.
Converts :javac-opts in Leiningen 1 format (passed as a map) into Leiningen 2 format (a vector). Options in Leiningen 2 format are returned unmodified.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close