Reputation: 1618
Im trying to get the @Assisted annotation in a play project. Is there any lines i should add to build.sbt to get it?
Upvotes: 0
Views: 171
Reputation: 1618
build.sbt project has to be modified.
Following library dependency should be added in to it.
"com.google.inject.extensions" % "guice-assistedinject" % "3.0"
Upvotes: 1
Reputation: 14401
Based on your other question I'm assuming that you want to add Guice to your project. You need to add the library to your build definition in the build.sbt
file.
libraryDependencies += "com.google.inject" % "guice" % "4.0-beta5"
Read more about dependency management in the docs.
Upvotes: 1