tools-deps

seancorfield 2025-03-09T23:10:11.732469Z

Note to self: if you do matrix testing in CI against multiple Java versions, and you depend on git deps that use prep lib, then you probably don't want to cache ~/.gitlibs -- whichever Java version is used first for -X:deps prep will get the compiled .class files cached, and they may be the wrong version for the other Java versions in your matrix. (I tripped over this with next.jdbc while testing against a PR for LazyTest, and ended up with a conflict between Java 11 and Java 21 class files, since LazyTest includes some Java code that is compiled as part of prep)

Alex Miller (Clojure team) 2025-03-09T23:49:50.092389Z

You could specify the target release for your javac task to output a min jvm version bytecode

seancorfield 2025-03-09T23:51:54.996429Z

You mean "The library you are depending on could..." but I can't control how prep works for a given library.

Alex Miller (Clojure team) 2025-03-10T12:58:08.442669Z

ah, thought it was yours