简体   繁体   中英

How to install Guice in Scala / SBT?

I have found this Maven repository for Guice http://repo2.maven.org/maven2/com/google/inject/guice/3.0/

I am wondering how do I insert this to .sbt file?

Add this line.

libraryDependencies += "com.google.inject" % "guice" % "3.0"

More on SBT Wiki

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