gitpitch/build.sbt
Yuusuke KOUNOIKE acca8a875c Add LauncherJarPlugin option to avoid long APP_CLASSPATH line. (#80)
In Windows, when running server.bat the following error message is seen: The input line is too long.
The syntax of the command is incorrect.

This error occurs because Windows has limit of around 8000 chars in one line. bin/server.bat has more long line for APP_CLASSPATH. This PR avoids APP_CLASSPATH problem by add LauncherJarPlugin option to sbt PlayScala plugin.
2017-06-26 21:38:47 +07:00

22 lines
521 B
Scala

name := """server"""
version := "1.1"
organization := "com.gitpitch"
lazy val root = (project in file(".")).enablePlugins(PlayJava, LauncherJarPlugin)
scalaVersion := "2.11.11"
libraryDependencies ++= Seq(
cache,
javaWs,
filters
)
libraryDependencies ++= Seq(
"com.typesafe.netty" % "netty-reactive-streams-http" % "1.0.6",
"com.google.guava" % "guava" % "19.0",
"com.google.inject.extensions" % "guice-assistedinject" % "4.0",
"org.yaml" % "snakeyaml" % "1.17",
"commons-io" % "commons-io" % "2.5"
)