-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
30 lines (22 loc) · 1.21 KB
/
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
name := "nwbib"
version := "0.1.0-SNAPSHOT"
scalaVersion := "2.11.11"
libraryDependencies ++= Seq(
cache,
javaWs,
"com.typesafe.play" % "play-test_2.11" % "2.4.11",
"org.elasticsearch" % "elasticsearch" % "1.7.5" withSources(),
"org.mockito" % "mockito-core" % "1.9.5",
"org.apache.commons" % "commons-rdf-jena" % "0.5.0",
"org.apache.commons" % "commons-csv" % "1.6",
"org.apache.jena" % "jena-arq" % "3.17.0" exclude ("com.github.jsonld-java","jsonld-java"),
"org.apache.jena" % "jena-core" % "3.17.0",
"org.easytesting" % "fest-assert" % "1.4" % "test"
)
lazy val root = (project in file(".")).enablePlugins(PlayJava)
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
import com.typesafe.sbteclipse.core.EclipsePlugin.EclipseKeys
EclipseKeys.projectFlavor := EclipseProjectFlavor.Java // Java project. Don't expect Scala IDE
EclipseKeys.createSrc := EclipseCreateSrc.ValueSet(EclipseCreateSrc.ManagedClasses, EclipseCreateSrc.ManagedResources) // Use .class files instead of generated .scala files for views and routes
EclipseKeys.preTasks := Seq(compile in Compile) // Compile the project before generating Eclipse files, so that .class files for views and routes are present
trapExit := false