Skip to content

Instantly share code, notes, and snippets.

@seratch
Created November 26, 2012 22:48
Show Gist options
  • Save seratch/4151180 to your computer and use it in GitHub Desktop.
Save seratch/4151180 to your computer and use it in GitHub Desktop.
Using ScalikeJDBC on Play 2.1-RC1
import sbt._
import Keys._
import play.Project._
object ApplicationBuild extends Build {
val appName = "sample"
val appVersion = "1.0-SNAPSHOT"
val appDependencies = Seq(
// Add your project dependencies here,
jdbc,
anorm,
"com.github.seratch" % "scalikejdbc_2.10.0-RC1" % "[1.4,)",
"com.github.seratch" % "scalikejdbc-interpolation_2.10.0-RC1" % "[1.4,)",
"com.github.seratch" % "scalikejdbc-play-plugin_2.10.0-RC1" % "[1.4,)"
)
val main = play.Project(appName, appVersion, appDependencies).settings(
// Add your own project settings here
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment