gpt4 book ai didi

Scala REPL : How to add remote Maven repository to Scala REPL classpath?

转载 作者:行者123 更新时间:2023-12-04 10:40:12 28 4
gpt4 key购买 nike

Scala REPL 非常适合尝试不同的代码片段。如果可以使用 Scala REPL 中的 Maven 存储库中的库运行代码,那就太好了。如何将远程 Maven 存储库添加到 Scala REPL 类路径?

最佳答案

我在 SBT 中做所有重要的事情。在一处,SBT build.sbt (或 .scala ,用于高级用途)您定义所有依赖项,生成您的 IDE 项目文件并运行具有类路径中存在的所有依赖项的 REPL。

关于Scala REPL : How to add remote Maven repository to Scala REPL classpath?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15666425/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com