-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.sbt
54 lines (39 loc) · 1.66 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
44
45
46
47
48
49
50
51
52
53
54
import AssemblyKeys._
name := "monkeyman"
version := "0.3"
scalaVersion := "2.9.2"
libraryDependencies ++= Seq(
"org.pegdown" % "pegdown" % "1.1.0",
"org.fusesource.scalamd" % "scalamd" % "1.5",
"joda-time" % "joda-time" % "2.0",
"eu.medsea.mimeutil" % "mime-util" % "2.1.3" intransitive,
"commons-io" % "commons-io" % "2.4",
"org.joda" % "joda-convert" % "1.2",
"org.fusesource.scalate" % "scalate-core" % "1.5.3",
"org.clapper" %% "argot" % "0.4",
"com.ibm.icu" % "icu4j" % "4.8.1.1",
"ch.qos.logback" % "logback-core" % "1.0.0",
"ch.qos.logback" % "logback-classic" % "1.0.0",
"com.asual.lesscss" % "lesscss-engine" % "1.1.5",
"org.yaml" % "snakeyaml" % "1.10",
"org.jsoup" % "jsoup" % "1.6.3"
// "org.imgscalr" % "imgscalr-lib" % "4.2"
)
resolvers ++= Seq(
"java m2" at "http://download.java.net/maven/2",
"snapshots" at "http://scala-tools.org/repo-snapshots",
"releases" at "http://scala-tools.org/repo-releases",
"asusual" at "http://www.asual.com/maven/content/groups/public"
)
initialCommands in console := "import java.io._; import nl.flotsam.monkeyman._"
mainClass in (Compile, run) := Some("nl.flotsam.monkeyman.Monkeyman")
mainClass in (Compile, packageBin) := Some("nl.flotsam.monkeyman.Monkeyman")
//seq(ProguardPlugin.proguardSettings :_*)
//
//proguardOptions ++= List(keepMain("nl.flotsam.monkeyman.Monkeyman"), "-keepclasseswithmembers class org.pegdown.**", "-keepclasseswithmembers class org.parboiled.**")
seq(assemblySettings: _*)
mainClass in assembly := Some("nl.flotsam.monkeyman.Monkeyman")
jarName in assembly := "monkeyman.jar"
fork in run := true
connectInput in run := true
compileOrder := CompileOrder.JavaThenScala