There are a few problems with the tools-deps integration example:
It needs the :git/sha too. Change clj -Sdeps '{:deps {mvxcvi/cljstyle {:git/url "https://github.com/greglook/cljstyle.git", :git/tag "0.15.0"}}}' ... to clj -Sdeps '{:deps {mvxcvi/cljstyle {:git/url "https://github.com/greglook/cljstyle.git", :sha "1f58e2e", :git/tag "0.15.0"}}}' ....
When I run it w/ the above fix I get the following deprecation notice: DEPRECATED: Libs must be qualified, change rewrite-clj => rewrite-clj/rewrite-clj (/Users/wmorgan/.gitlibs/libs/mvxcvi/cljstyle/1f58e2e7af4c193aa77ad0695f6c2b9ac2c5c5ec/deps.edn)
When I run it w/ the above fix I get the following fatal error: Syntax error (ClassNotFoundException) compiling at (cljstyle/format/zloc.clj:1:1). rewrite_clj.node.stringz.StringNode
This is with clojure tools.deps 1.10.3.1087 on OpenJDK 11 & 17 on macOS 12.2.1.
There are a few problems with the tools-deps integration example:
:git/sha
too. Changeclj -Sdeps '{:deps {mvxcvi/cljstyle {:git/url "https://github.com/greglook/cljstyle.git", :git/tag "0.15.0"}}}' ...
toclj -Sdeps '{:deps {mvxcvi/cljstyle {:git/url "https://github.com/greglook/cljstyle.git", :sha "1f58e2e", :git/tag "0.15.0"}}}' ...
.DEPRECATED: Libs must be qualified, change rewrite-clj => rewrite-clj/rewrite-clj (/Users/wmorgan/.gitlibs/libs/mvxcvi/cljstyle/1f58e2e7af4c193aa77ad0695f6c2b9ac2c5c5ec/deps.edn)
Syntax error (ClassNotFoundException) compiling at (cljstyle/format/zloc.clj:1:1). rewrite_clj.node.stringz.StringNode
This is with clojure tools.deps 1.10.3.1087 on OpenJDK 11 & 17 on macOS 12.2.1.
Here is the full stacktrace from error no. 3: