Since Play Framework 2.3.x, Play WS is a dependent library. Reference:
http://playframework.com/documentation/2.3.x/Migration23
How do I include it in a SBT project?
Answer:
"com.typesafe.play" %% "play-ws" % "2.3.1"
Guys for anyone who stumbled it's better to add the following line:
libraryDependencies += javaWs
For Build.scala
you should import play.Play.autoImport._
in order to use the ws
pattern.
In build.sbt
you can use it off the bat.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With