前々回くらいで、【Scala】LiftでMySQLに繋ぐ(Maven編)では、MavenでMySQLにつなぐための設定をしたが、今回はsbtでMySQLにつなぐための設定を。 project/build/LiftProject.scalaファイルに、MySQLのドライバの設定を追加します。 [scala]override def libraryDependencies = Set( "net.liftweb" %% "lift-webkit" % liftVersion.value.toString % "compile", "net.liftweb" %% "lift-mapper" % liftVersion.value.toString % "compile", "org.mortbay.jetty" % "jetty" % "6.1.26" % "test", "junit" %
![[Scala]LiftでMySQLに繋ぐ(sbt編) | GENDOSU@NET](https://cdn-ak-scissors.b.st-hatena.com/image/square/31cf84cda6a253c0e1b3496f0e315bcafe8223ae/height=288;version=1;width=512/https%3A%2F%2Fgendosu.jp%2Fwp-content%2Fuploads%2F2016%2F03%2Fgendosu-logo-img.png)