DISCOVERED IN HACKER NEWS
Get coursier
Get coursier: a product linked in Hacker News recommendation discussions.
More products
1Recommendation signals
1Sources
2024-12-19Latest mention
Why does HN talk about it?
Automatically selected excerpts in their original language. Read the full discussion for context.
still have convenient dependency resolution, I highly recommend checkig out coursier: https://get-coursier.io/ https://get-coursier.io/ Its a cli based artifact fetching tool for the JVM ecosystem, and you can have it just make up classpath strings for you, i.e., to use some Apache dependencies with the single file simplified java running you could just: java --enable-preview --class-path (cs fetch --classpath org.apache.commons:commons-collections4:4.4) program.java Also, maybe do have a look at scala-cli: https://scala-cli.virtuslab.org/ https://scala-cli.virtuslab.org/ It does work just fine with Java files, and allows you to write single-…Read the full discussion