DISCOVERED IN HACKER NEWS

Get coursier

Get coursier:从 Hacker News 推荐讨论中自动发现的产品。

更多产品
访问产品网站
1推荐信号
1讨论来源
2024-12-19最近提及

为什么 HN 用户提到它?

自动整理的讨论摘录,保留原始英文。阅读原文了解完整语境。

@rmgk
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-…
阅读完整讨论