Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

2.1.245

Compare
Choose a tag to compare
@seancorfield seancorfield released this 27 Jun 23:39
· 60 commits to develop since this release

Internally, this is a "big" release: the monolithic "uberjar" task has been broken into three pieces now:

  • pom.xml generation and sync'ing,
  • AOT compilation,
  • (uber) JAR building.

The first two are surfaced as exec functions in hf.depstar/pom and hf.depstar/aot but the standalone JAR builder task is not exposed directly (the current hf.depstar/jar and hf.depstar/uberjar tasks still combine all three pieces, and run like a -main so they call shutdown-agents).

This is part of bringing depstar in line with the upcoming tools.build from the Clojure core team. That work will be completed once tools.build is available (it's likely that a new namespace, hf.depstar.api, will be added containing "tasks" that are compatible with tools.build).

Also in this release:

Documentation:

  • Address #83 by explaining possible Skipping paths warning when :sync-pom true.
  • Address #74 by noting CI environment caching "gotchas".

Enhancements:

  • As part of #82 (the big internal refactor), a new :target-dir option has been added to you can generate pom.xml and/or classes into a specific directory.
  • Address #81 by batching compilation into a single process, with a :compile-batch option to use multiple processes if there are too many namespaces. @stefanroex
  • Address #80 by adding :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".