如何使用sbt查找过时的库?
如何找到使用sbt的较新版本的库 对于Ruby bundler,它可以通过如何使用sbt查找过时的库?,sbt,Sbt,如何找到使用sbt的较新版本的库 对于Ruby bundler,它可以通过bundle来完成。我想对sbt做类似的事情。有一个提供最新稳定和快照版本的。不过,我不确定它有多可靠 运行示例: my-project $ sbt [info] Set current project to my-project > dependencyUpdates [info] Found 14 dependency updates for my-project [info] com.typesafe.ak
bundle来完成。我想对sbt做类似的事情。有一个提供最新稳定和快照版本的。不过,我不确定它有多可靠
运行示例:
my-project $ sbt
[info] Set current project to my-project
> dependencyUpdates
[info] Found 14 dependency updates for my-project
[info] com.typesafe.akka:akka-actor : 2.2.1 -> 2.2.3
[info] com.typesafe.akka:akka-agent : 2.2.1 -> 2.2.3
[info] com.typesafe.akka:akka-dataflow : 2.2.1 -> 2.2.3
[info] com.typesafe.akka:akka-slf4j : 2.2.1 -> 2.2.3
[info] com.typesafe.akka:akka-testkit : 2.2.1 -> 2.2.3
[info] com.typesafe.akka:akka-zeromq : 2.2.1 -> 2.2.3
[info] org.scala-lang.plugins:continuations:plugin->default(compile) : 2.10.2 -> 2.10.3
[info] org.scala-lang:scala-library : 2.10.2 -> 2.10.3
[info] org.scalaz:scalaz-concurrent : 7.0.3 -> 7.0.5
[info] org.scalaz:scalaz-core : 7.0.3 -> 7.0.4
[info] org.scalaz:scalaz-effect : 7.0.3 -> 7.0.5
[info] org.scalaz:scalaz-iteratee : 7.0.3 -> 7.0.5
[info] org.scalaz:scalaz-typelevel : 7.0.3 -> 7.0.5
[info] org.scalaz:scalaz-xml : 7.0.3 -> 7.0.5
您可以在命令行中使用“SBT>DependencyUpdate”。就像上面描述的那样。那就行了。但现在这是自动化的
您可以使用监视GitHub/Bitbucket上的build.sbt文件。VersionEye将通过电子邮件自动通知您项目中过时的依赖项。通过这种方式,它是完全自动化的,您不必记住在shell中执行命令。它就像版本的CI服务器;-)
顺便说一下,我是创办VersionEye的人。如果您有问题,请告诉我。…可能是一个评论:)如果是那样的话,我很抱歉:)下次我会知道更多。漂亮的1行代码(从sbt1.1.1
):sbt我的项目/依赖项更新