-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
24 lines (16 loc) · 858 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
name := "99 Problems"
organization := "com.sebnozzi"
version := "0.1-SNAPSHOT"
scalaVersion := "2.10.3"
libraryDependencies ++= Seq(
"junit" % "junit" % "4.11" % "test", // needed only for IntelliJ
"org.scalatest" %% "scalatest" % "2.0" % "test->default"
)
// 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