[英]could not resolve dependency for scalabuff-runtime in sbt
I am trying to use the generated scala class in a sbt-managed class (using the scalabuff tool to generate the scala class from proto file https://github.com/SandroGrzicic/ScalaBuff ). 我试图在sbt管理的类中使用生成的scala类(使用scalabuff工具从原始文件https://github.com/SandroGrzicic/ScalaBuff生成scala类)。 I now try to add the dependency to the sbt config: addSbtPlugin("net.sandrogrzicic" %% "scalabuff-runtime" % "1.3.6")
我现在尝试将依赖项添加到sbt配置:addSbtPlugin(“ net.sandrogrzicic” %%“ scalabuff-runtime”%“ 1.3.6”)
But sbt reports the dependency could not be resoloved. 但是sbt报告说,依赖关系无法解决。
Anyone has similar issue before? 有人有类似的问题吗?
Just looking at the readme, scalabuff-runtime isn't the plugin, it's the runtime dependency. 仅查看自述文件,scalabuff-runtime不是插件,而是运行时依赖项。 It looks like you actually need
看来您确实需要
addSbtPlugin("com.github.sbt" %% "sbt-scalabuff" % "0.2")
libraryDependencies += "net.sandrogrzicic" %% "scalabuff-runtime" % "1.3.6"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.