-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.sbt
More file actions
32 lines (24 loc) · 1.35 KB
/
Copy pathbuild.sbt
File metadata and controls
32 lines (24 loc) · 1.35 KB
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
32
name := "nwbib"
version := "0.1.0-SNAPSHOT"
scalaVersion := "2.11.12"
libraryDependencies ++= Seq(
cache,
javaWs,
"com.typesafe.play" % "play-test_2.11" % "2.4.11",
"org.elasticsearch" % "elasticsearch" % "5.6.16" withSources(),
"org.elasticsearch.plugin" % "transport-netty4-client" % "5.6.16" 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",
"com.sun.xml.bind" % "jaxb-impl" % "2.3.3" withSources()
)
lazy val root = (project in file(".")).enablePlugins(PlayJava)
javacOptions ++= Seq("-source", "11", "-target", "11")
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