Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 buildr 来构建我的 scala 项目,假设我想在源代码中运行一个主程序,我需要在 buildr 中定义自定义任务,这很容易。但是,如何自动传递类路径依赖项?(即)假设您已经在 buildr 中添加了大量 jar 文件作为依赖项。无论如何要求构建器将它们展平并将其作为类路径提供,以便我可以将它传递给我的 scala 跑步者?我不想在构建器中手动构建类路径。谢谢!
我不使用buildr,但在我看来,以下页面上的信息组合应该可以让您到达您想去的地方:
buildr