Skip to content

Commit

Permalink
Upgrade sbt and sbt plugins: sbt-revolver, sbt-assembly, and sbt-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklaskowski committed Apr 20, 2016
1 parent 2262f1a commit 80a5e68
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
15 changes: 9 additions & 6 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import sbt.Keys._
import sbt._
import sbtassembly.AssemblyPlugin.autoImport._
import spray.revolver.RevolverPlugin._
import com.typesafe.sbt.SbtScalariform._
import scalariform.formatter.preferences._
import bintray.Plugin.bintrayPublishSettings
import scoverage.ScoverageKeys._

Expand Down Expand Up @@ -159,14 +161,15 @@ object JobServerBuild extends Build {
Tags.limitSum(1, Tags.Test, Tags.Untagged))
)

lazy val revolverSettings = Revolver.settings ++ Seq(
javaOptions in Revolver.reStart += jobServerLogging,
import spray.revolver.RevolverPlugin.autoImport._
lazy val revolverSettings = Seq(
javaOptions in reStart += jobServerLogging,
// Give job server a bit more PermGen since it does classloading
javaOptions in Revolver.reStart += "-XX:MaxPermSize=256m",
javaOptions in Revolver.reStart += "-Djava.security.krb5.realm= -Djava.security.krb5.kdc=",
javaOptions in reStart += "-XX:MaxPermSize=256m",
javaOptions in reStart += "-Djava.security.krb5.realm= -Djava.security.krb5.kdc=",
// This lets us add Spark back to the classpath without assembly barfing
fullClasspath in Revolver.reStart := (fullClasspath in Compile).value,
mainClass in Revolver.reStart := Some("spark.jobserver.JobServer")
fullClasspath in reStart := (fullClasspath in Compile).value,
mainClass in reStart := Some("spark.jobserver.JobServer")
)

// To add an extra jar to the classpath when doing "re-start" for quick development, set the
Expand Down
7 changes: 3 additions & 4 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.1.10")

addSbtPlugin("io.spray" % "sbt-revolver" % "0.7.2") // For quick restarts for web development
addSbtPlugin("io.spray" % "sbt-revolver" % "0.8.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.3.0")

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.1")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.3")

addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.8.0")

Expand All @@ -18,4 +17,4 @@ addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.3")

addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.8.5")

addSbtPlugin("se.marcuslonnberg" % "sbt-docker" % "1.2.0")
addSbtPlugin("se.marcuslonnberg" % "sbt-docker" % "1.3.0")

0 comments on commit 80a5e68

Please sign in to comment.