Fork me on GitHub
#polylith
<
2021-12-21
>
oly15:12:55

Anyone using https://github.com/liquidz/antq or similar with polylith ? be interested in an example alias seems antq is no longer happy since I refactored into polylith style

seancorfield17:12:40

We use antq at work and we tell it which directories to check for deps.edn. I'll drop the example code into this thread for folks who are interested.

seancorfield17:12:08

clojure -Sdeps '{:deps {com.github.liquidz/antq {:mvn/version "RELEASE"}}}' -M -m antq.core \
	--skip=pom \
	--error-format="| {{name}} | {{version}} | {{latest-version}} |" \
	--reporter=format -d .:`ls -d * bases/* components/* projects/* | tr '\n' ':'` 2> /dev/null | sort -u

seancorfield17:12:15

That finds the top-level deps.edn (via .), our legacy subproject format (via *), and then Polylith's bricks and projects.

polylith 1
oly21:12:52

okay grand thanks @U04V70XH6 will give that a try

oly15:12:55

I copied my alias from my root folder into my project folder but I now get greeted with this "var: #'clojure.tools.deps.alpha.util.maven/get-settings is not public"

seancorfield17:12:40

We use antq at work and we tell it which directories to check for deps.edn. I'll drop the example code into this thread for folks who are interested.

emccue19:12:44

there should be support for that in 1.3.0 https://github.com/liquidz/antq/issues/115

emccue19:12:27

so you can point it at a top level project and it will crawl through your components deps

seancorfield22:12:14

With the caveat that it doesn't know about projects and any additional deps those might bring in that are not covered by your workspace deps.edn and the components reachable from it.