Liking cljdoc? Tell your friends :D
Clojure only.

salmon.uberjar


uberjarclj

(uberjar & {:as config})

Returns a component that builds an uberjar for a Clojure project.

Config options:

:aliases (Required) Seq of deps.edn aliases to use. Example: [:uberjar :prod]. One of the aliases must define a :main namespace that contains (:gen-class) and a -main fn.

:project-dir (Required) The project directory for which to build the uberjar.

:class-dir (Default: A temporary directory.) The directory to store the compiled code and source code that will go into the uberjar. Relative to :project-dir.

:clean? (Default: true) Whether to delete :class-dir before building.

:deps-file (Default: "deps.edn") The project's deps.edn file. Relative to :project-dir.

:uber-file (Default: A file in a temporary directory.) Path to write the uberjar file. Relative to :project-dir.

Instance keys:

:uber-file Absolute path to the uberjar file.

Returns a component that builds an uberjar for a Clojure project.

Config options:

:aliases (Required)
Seq of deps.edn aliases to use. Example: `[:uberjar :prod]`.
One of the aliases must define a :main namespace that contains
`(:gen-class)` and a `-main` fn.

:project-dir (Required)
The project directory for which to build the uberjar.

:class-dir (Default: A temporary directory.)
The directory to store the compiled code and source code that will
go into the uberjar. Relative to :project-dir.

:clean? (Default: true)
Whether to delete :class-dir before building.

:deps-file (Default: "deps.edn")
The project's deps.edn file. Relative to :project-dir.

:uber-file (Default: A file in a temporary directory.)
Path to write the uberjar file. Relative to :project-dir.

Instance keys:

:uber-file
Absolute path to the uberjar file.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close