|
@@ -1,4 +1,5 @@
|
|
import sbt._
|
|
import sbt._
|
|
|
|
+import Keys._
|
|
import spray.revolver.RevolverPlugin.Revolver
|
|
import spray.revolver.RevolverPlugin.Revolver
|
|
import sbtassembly.Plugin._
|
|
import sbtassembly.Plugin._
|
|
import AssemblyKeys._
|
|
import AssemblyKeys._
|
|
@@ -16,7 +17,7 @@ test in Compile := {}
|
|
mainClass in Compile := Some("com.ibm.plain.bootstrap.Main")
|
|
mainClass in Compile := Some("com.ibm.plain.bootstrap.Main")
|
|
|
|
|
|
scalacOptions in Compile ++= Seq(
|
|
scalacOptions in Compile ++= Seq(
|
|
- "-g:none",
|
|
|
|
|
|
+ "-g:vars",
|
|
"-encoding", "UTF-8",
|
|
"-encoding", "UTF-8",
|
|
"-target:jvm-1.7",
|
|
"-target:jvm-1.7",
|
|
"-deprecation",
|
|
"-deprecation",
|
|
@@ -38,20 +39,22 @@ libraryDependencies ++= Seq(
|
|
"commons-io" % "commons-io" % "2.4",
|
|
"commons-io" % "commons-io" % "2.4",
|
|
"commons-net" % "commons-net" % "3.3",
|
|
"commons-net" % "commons-net" % "3.3",
|
|
"commons-codec" % "commons-codec" % "1.8",
|
|
"commons-codec" % "commons-codec" % "1.8",
|
|
|
|
+ "javax.servlet" % "javax.servlet-api" % "3.1.0",
|
|
|
|
+ "org.glassfish.web" % "javax.servlet.jsp" % "2.3.1",
|
|
"com.googlecode.concurrentlinkedhashmap" % "concurrentlinkedhashmap-lru" % "1.3.2",
|
|
"com.googlecode.concurrentlinkedhashmap" % "concurrentlinkedhashmap-lru" % "1.3.2",
|
|
"net.jpountz.lz4" % "lz4" % "1.2.0",
|
|
"net.jpountz.lz4" % "lz4" % "1.2.0",
|
|
|
|
+ "net.lingala.zip4j" % "zip4j" % "1.3.1",
|
|
"com.fasterxml.jackson.core" % "jackson-databind" % "2.2.3",
|
|
"com.fasterxml.jackson.core" % "jackson-databind" % "2.2.3",
|
|
"com.sun.jersey" % "jersey-json" % "1.17.1",
|
|
"com.sun.jersey" % "jersey-json" % "1.17.1",
|
|
"org.jvnet.mimepull" % "mimepull" % "1.9.3",
|
|
"org.jvnet.mimepull" % "mimepull" % "1.9.3",
|
|
- "org.apache.derby" % "derby" % "10.10.1.1",
|
|
|
|
- "org.apache.derby" % "derbyclient" % "10.10.1.1",
|
|
|
|
- "com.h2database" % "h2" % "1.3.172",
|
|
|
|
- "mysql" % "mysql-connector-java" % "5.1.26",
|
|
|
|
- "javax.servlet" % "javax.servlet-api" % "3.1.0"
|
|
|
|
|
|
+ "mysql" % "mysql-connector-java" % "5.1.27"
|
|
)
|
|
)
|
|
|
|
|
|
Revolver.settings
|
|
Revolver.settings
|
|
|
|
|
|
-sbtassembly.Plugin.assemblySettings
|
|
|
|
-
|
|
|
|
scalariformSettings
|
|
scalariformSettings
|
|
|
|
+
|
|
|
|
+assemblySettings
|
|
|
|
+
|
|
|
|
+test in assembly := {}
|
|
|
|
+
|