For the latest :git/tag
of depstar
and its matching :git/sha
, see the depstar
releases page on GitHub.
v2.1.303 -- 2021-09-15
v2.1.297 9626e19 -- 2021-09-04
:mvn/local-repo
directly as an option -- #100.v2.1.278 672c142 -- 2021-07-29
println
instead (this makes it easier to play with other tools) -- #98.depstar
.v2.1.267 1a45f79 -- 2021-07-13
hf.depstar.api
containing jar
and uber
functions which are drop-in replacements for tools.build.api
versions, but also accept all of the options that depstar
supports to control the behavior in more detail. In addition, hf.depstar/build
has been added as a component step to work with the existing aot
and pom
functions in that namespace.2.1.253 -- 2021-07-11
:extra-deps
from :aliases
to :deps
used for pom.xml
synchronization.2.1.250 -- 2021-07-09
:tools/usage
and instructions for new CLI tools
support.clojure.tools.deps.alpha
and use its new create-basis
function, instead of rolling my own.2.1.245 -- 2021-06-27
Skipping paths
warning when :sync-pom true
.hf.depstar/aot
and hf.depstar/pom
are exposed and can be run via the -X
CLI option. In order to make those more useful as standalone tasks, a new :target-dir
option has been added so you can generate pom.xml
and/or classes
into a specific directory.:compile-batch
option to use multiple processes if there are too many namespaces. @stefanroex:delete-on-exit true
exec arg so users can opt-in to early deletion of temporary files and directories, instead of relying on the O/S to clean them "eventually".test-runner
.2.0.216 -- 2021-04-14
user.clj
and depstar
and suggesting :replace-paths []
.:aot true
without :main-class
gives a warning and does not attempt to compile anything).2.0.211 -- 2021-03-31
:compile-aliases
so the classpath for AOT compilation can be adjusted separately from the classpath for JAR building (controlled by :aliases
).2.0.206 -- 2021-03-17
:paths-only
option (default false
).deps.edn
).2.0.193 -- 2021-03-02
com.github.seancorfield/depstar
(although new versions will continue to be deployed to seancorfield/depstar
for a while -- see the Clojars Verified Group Names policy).:group-id
is specified and does not contain at least one .
.:manifest
option to populate MANIFEST.MF
file.2.0.188 -- 2021-02-23
:compile-ns :all
works again (broken in 2.0.187).2.0.187 -- 2021-02-20
:compile-ns :all
is broken in this release!:compile-ns
to accept regex strings to match namespaces (as well as symbols). PR #67 @wandersoncferreira (bartuka).entries
instead of calling .getNextEntry
(the latter checks CRCs, the former doesn't apparently)..DS_Store
files.:jvm-opts
exec argument for passing JVM options to the AOT compilation subprocess.:compile-fn
exec argument for passing in a custom compile
function.2.0.171 -- 2021-01-29
:group-id
, :artifact-id
, and :version
when :sync-pom true
and no pom.xml
file is present (GAV are now required when you want depstar
to create your pom.xml
file).pom.xml
file handling from MANIFEST.MF
handling, which makes it possible to build an uberjar without a pom.xml
file. This also allows you to specify :aot true
and :main-class
when building a (thin) JAR file -- but cautions you that it is not recommended!git rev-parse HEAD
(in the same directory as the pom.xml
) and adding the output as revision=
in pom.properties
.-Sdeps
).2.0.165 -- 2020-12-28
2.0.161 -- 2020-12-23
<tag>
to be matched against the version, when synchronizing :version
. Fixes #55.2.0.160 -- 2020-12-22
depstar
now behaves like a "tool" rather than a "library" -- you should use :replace-deps
to specify it as a dependency rather than :extra-deps
and it will compute the project basis from the system, user, and project deps.edn
files using clojure.tools.deps.alpha
. By default, it applies no aliases but you can specify an :aliases
exec-arg with a vector of aliases to apply. By default, it behaves like the CLI's -Srepro
option in that the user deps.edn
file is ignored: specify :repro false
if you want the user deps.edn
file to be included in the basis. Fixes #47, #48, #49.:compile-ns
exec-arg supports a vector of namespaces to be compiled; this overrides :aot
and :main-class
and allows you to AOT-compile specific namespaces for inclusion in a thin JAR, if needed. Fixes #51.:group-id
, :artifact-id
, and :version
respectively, and depstar
will update your pom.xml
file to match). Fixes #53.:sync-pom true
will automatically run the equivalent of clojure -Spom
. See README for more details. Fixes #54.hf.depstar/jar
and hf.depstar/uberjar
via -X
, hf.depstar.uberjar/build-jar
via REPL or library usage. The following legacy entry points are all deprecated: hf.depstar.jar/-main
, hf.depstar.jar/run
, hf.depstar.uberjar/-main
, hf.depstar.uberjar/run
, and hf.depstar.uberjar/run*
.1.1.136 -- 2020-11-16
:pom-file
exec argument to specify a pom.xml
file in a non-standard location, e.g., :pom-file '"/tmp/pom.xml"'
-- there is no equivalent :main-opts
flag for this, you have to use the CLI's -X
invocation to supply it.1.1.133 -- 2020-11-07
hf.depstar.uberjar/build-jar
. [this was originally hf.depstar.uberjar/run*
]1.1.132 -- 2020-10-19
shutdown-agents
at the end of processing, to account for AOT of badly-behaved code that has side-effecting top-level forms.1.1.128 -- 2020-10-09
1.1.126 -- 2020-10-08
pom.properties
to use =
instead of :
.compile
failures are handled.1.1.117 -- 2020-09-14
-D
/ --debug-clash
option to print the "clashing jar items" warnings..cljc
data readers are not fully supported yet).clojure -X
invocation entry points to hf.depstar/jar
and hf.depstar/uberjar
.1.1.104 -- 2020-08-27
-X
/ --exclude
to provide one or more regex used to exclude files from the JAR.hf.depstar/jar
and hf.depstar/uberjar
as entry points that can be used by the Clojure CLI -X
option (to execute a specific function and pass a map of arguments). [these were originally hf.depstar/jar
and hf.depstar/uberjar
]-P
/ --classpath
option to specify a classpath to use (based on PR #36 @borkdude).-J
/ --jar
option for it.(:gen-class)
is required for AOT.1.0.97 -- 2020-08-05
Log4j2Plugins.dat
.1.0.96 -- 2020-07-29
Log4j2Plugins.dat
file conflicts.1.0.94 -- 2020-04-10
.cljs
and .cljc
extensions as well as .clj
.-D
/ --debug-clash
option to display these warnings: Address #28 by adding -S
/ --suppress-clash
option to suppress the warning about clashing jar items.0.5.2 -- 2020-01-16
0.5.1 -- 2020-01-02
0.5.0 -- 2020-01-02
classes
or add it to the classpath.0.4.2 -- 2019-12-31
Multi-Release: true
in the uberjar manifest if any multi-release JAR files are consumed.0.4.1 -- 2019-12-31
.keep
files.0.4.0 -- 2019-12-31
-C
/ --compile
option to AOT-compile the main namespace for an uberjar.0.3.4 -- 2019-10-18
0.3.3 -- 2019-09-06
clojure.xml
to extract group ID, artifact ID, and version.0.3.2 -- 2019-08-26
:unknown
copy. handler and checking for excluded filenames in it0.3.1 -- 2019-08-05
-m
/ --main
option to override Main-Class
in the manifest.0.3.0 -- 2019-07-24
pom.xml
, if present, to generate a manifest (and copy pom.xml
into the JAR file).0.2.4 -- 2019-07-05
0.2.3 -- 2019-07-01 (do not use)
depstar
can be used to build JARs for older projects.0.2.2 -- 2019-06-29 (do not use)
-v
/--verbose
option to display files added to the archive.0.2.1 -- 2019-05-08 (do not use)
0.2.0 -- 2019-05-07
0.1.7 -- 2019-04-24
*.pom
files.module-info.class
files.0.1.6 -- 2019-03-10
data_readers.clj
(do not close input stream!).-Ddepstar.debug=true
and DEPSTAR_DEBUG=true
to be more verbose.0.1.5 -- 2018-10-24
0.1.2 -- 2018-10-23
data_readers.clj
.hf.depstar.jar
namespace added.Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close