简体   繁体   中英

How to declare dependency on Play's Anorm for a standalone application?

在独立模式下(不是Play应用程序的一部分)使用Play的anorm包的最新版本(例如,2.3或2.4)的当前sbt语法是什么?

In build.sbt :

resolvers ++= Seq(
  "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/")

libraryDependencies ++= Seq(
  "com.typesafe.play" %% "anorm" % "2.3.6")

See example .

Anorm现在发布如下,无需额外的解析器。

"org.playframework.anorm" %% "anorm" % "2.6.2"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM