forked from velvia/ScalaStorm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
29 lines (19 loc) · 1014 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
25
26
27
28
29
name := "scala-storm"
// If you comment this out, SBT 0.10 will default to Scala 2.8.1
scalaVersion := "2.9.1"
// sbt defaults to <project>/src/test/{scala,java} unless we put this in
unmanagedSourceDirectories in Test <<= Seq( baseDirectory( _ / "test" ) ).join
unmanagedSourceDirectories in Compile <<= Seq( baseDirectory( _ / "examples" ),
baseDirectory( _ / "dsl")).join
resolvers ++= Seq("clojars" at "http://clojars.org/repo/",
"clojure-releases" at "http://build.clojure.org/releases")
libraryDependencies += "storm" % "storm" % "0.6.0"
// This is to prevent error [java.lang.OutOfMemoryError: PermGen space]
javaOptions += "-XX:MaxPermSize=1g"
javaOptions += "-Xmx2g"
// When doing sbt run, fork a separate process. This is apparently needed by storm.
fork := true
// set Ivy logging to be at the highest level - for debugging
ivyLoggingLevel := UpdateLogging.Full
// Aagin this may be useful for debugging
logLevel := Level.Info