where to find downloaded library of sbt?

前端 未结 3 1222
旧巷少年郎
旧巷少年郎 2020-12-29 21:44

Where does sbt put the downloaded jar? I\'m trying to ask sbt to download all dependencies and put them under lib/ directory so I can use them with the ScalaIDE, however aft

3条回答
  •  清酒与你
    2020-12-29 22:13

    I find the sbt dependency from http://mvnrepository.com/

    for example, you want to find MySQL Java Connector, you can search form the search box, and choose a version you like, then you will see sbt tag:

    libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.34"
    

    if you want to find the downloaded jars, in windows is C:\Users\\.ivy2\cache

    in linux is ~/.ivy2/cache

    good luck

提交回复
热议问题