-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
31 lines (23 loc) · 1.1 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
name := "wordnet"
organizationName := "Coursera"
organization := "edu.coursera"
version := "0.1"
scalaVersion := "2.10.4"
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature")
resolvers ++= Seq(
"sonatype releases" at "https://oss.sonatype.org/content/repositories/releases/",
"sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/",
"typesafe repo" at "http://repo.typesafe.com/typesafe/releases/"
)
libraryDependencies ++= Seq(
"org.specs2" % "specs2_2.10" % "2.3.10" % "test"
,"junit" % "junit" % "4.11" % "test"
,"org.scalatest" % "scalatest_2.10" % "2.1.0" % "test"
)
TaskKey[Unit]("zip") <<= baseDirectory map {
bd => {
val out = new File(bd + "/wordnet.zip")
val sources: Traversable[(File, String)] = Path.allSubpaths(new File(bd + "/src/main/java"))
IO.zip(sources, out)
}
}