-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
31 lines (20 loc) · 997 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name := """play-guice-mybatis"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.1"
libraryDependencies ++= Seq(
javaJdbc,
javaEbean,
cache,
javaWs,
"org.mybatis" % "mybatis" % "3.3.0" withSources() withJavadoc(),
"org.mybatis" % "mybatis-guice" % "3.6" withSources() withJavadoc(),
javaCore, javaJdbc
)
libraryDependencies += "org.postgresql" % "postgresql" % "9.3-1103-jdbc41" withSources() withJavadoc()
libraryDependencies += "com.google.inject" % "guice" % "4.0" withSources() withJavadoc()
libraryDependencies += "com.google.inject.extensions" % "guice-multibindings" % "4.0" withSources() withJavadoc()
// "Add mapper xml files to classpath" -- blank line necessary for SBT
unmanagedResourceDirectories in Compile <+= baseDirectory( _ / "app" )
// but filter out java and html files that would then also be copied to the classpath
excludeFilter in Compile in unmanagedResources := "*.java" || "*.html"