Quantcast
Channel: mysql
Viewing all articles
Browse latest Browse all 10

Play Framework: An SBT build.sbt file for JDBC, MySQL, and Anorm

$
0
0

Play Framework: An SBT build.sbt file for JDBC, MySQL, and Anorm

As a note to self, if you want to use JDBC, MySQL, and Anorm with the Play Framework 2.6, you’ll need a libraryDependencies entry like this in your SBT build.sbt file:

libraryDependencies ++= Seq(
    guice,
    "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test,
    jdbc,
    "mysql" % "mysql-connector-java" % "5.1.46",
    "com.typesafe.play" %% "anorm" % "2.5.3"
)

 


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images