-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.sbt
32 lines (22 loc) · 1.06 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
31
32
import AssemblyKeys._
assemblySettings
// ---
name := "wordguess-client"
version := "0.1.0"
scalaVersion := "2.10.3"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-cluster" % "2.2.3",
"com.typesafe.akka" %% "akka-slf4j" % "2.2.3",
"com.typesafe.akka" %% "akka-testkit" % "2.2.3",
"ch.qos.logback" % "logback-classic" % "1.0.13",
"junit" % "junit" % "4.11" % "test",
"org.scalatest" %% "scalatest" % "2.0" % "test"
)
// Use Java 7 (change to JavaSE16 if you don't have Java 7 installed)
EclipseKeys.executionEnvironment := Some(EclipseExecutionEnvironment.JavaSE17)
// Adding src/main/resources etc. to the source entries, so Eclipse "compiles" them, i.e. copies them to the target
EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.Resource
// In order to avoid Eclipse and sbt working on the same files: At least in theory there could be race conditions and such
EclipseKeys.eclipseOutput := Some(".target")
// Add source entries to library dependencies
EclipseKeys.withSource := true