-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
43 lines (32 loc) · 1.08 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
33
34
35
36
37
38
39
40
41
42
43
name := """TesiMRLiteScala"""
val akkaVersion = "2.3.8"
fork in run := true
version := "0.1"
scalaVersion := "2.11.4"
resolvers += Resolver.sonatypeRepo("public")
scalacOptions in Compile ++= Seq(
"-encoding",
"UTF-8",
"-target:jvm-1.6",
"-deprecation",
"-feature",
"-unchecked",
"-Xlog-reflective-calls",
"-Xlint")
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-cluster" % akkaVersion,
"com.typesafe.akka" %% "akka-contrib" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"com.github.scopt" %% "scopt" % "3.2.0",
"org.fusesource" % "sigar" % "1.6.4")
javaOptions in run ++= Seq(
"-Djava.library.path=./sigar",
"-Xms128m", "-Xmx1024m",
"-Dcom.sun.management.jmxremote.port=9999",
"-Dcom.sun.management.jmxremote.authenticate=false",
"-Dcom.sun.management.jmxremote.ssl=false",
"-XX:+UnlockCommercialFeatures",
"-XX:+FlightRecorder")
assemblyJarName in assembly := "MRLiteClusterNode.jar"
test in assembly := {}
mainClass in assembly := Some("it.unipd.trluca.mrlite.Main")