Adding Play JSON Library to sbt

后端 未结 5 1863
半阙折子戏
半阙折子戏 2020-11-29 03:47

How can I add the Play JSON library (play.api.libs.json) to my sbt project?

When I added the following to my plugins.sbt file:



        
5条回答
  •  时光说笑
    2020-11-29 04:34

    This worked for me (scala 2.11)

    resolvers += "Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases/"

    libraryDependencies += "com.typesafe.play" %% "play-json" % "2.3.0"

提交回复
热议问题