Skip to content

Commit

Permalink
update to sbt 1.0.0 (#326)
Browse files Browse the repository at this point in the history
Mostly went well, two primary issues found:

1. It seems to leave the terminal in a bad state. For
   now working around by calling `stty sane`.
2. Switch some of the non-required plugins to get versions
   compatible with 1.0.
  • Loading branch information
brharrington authored Aug 11, 2017
1 parent 1bb9d83 commit a449c4a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.15
sbt.version=1.0.0
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2")
addSbtPlugin("com.sksamuel.sbt-versions" % "sbt-versions" % "0.2.0")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.6")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.2.27")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.9.3")

// Convenient helpers, not required
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.1")
7 changes: 6 additions & 1 deletion project/sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ java \
-Dsbt.boot.directory=${WORKSPACE:-$HOME}/.sbt \
-Dsbt.ivy.home=${WORKSPACE:-$HOME}/.ivy2 \
$OPTIONS \
-jar `dirname $0`/sbt-launch-0.13.8.jar "$@"
-jar `dirname $0`/sbt-launch-1.0.0.jar "$@"

# sbt 1.0.0 seems to leave the tty settings in a bad state,
# this is a hacky work around until I have more time to
# debug
if [ -t 0 ] && [ -e /bin/stty ]; then stty sane; fi
Binary file not shown.

0 comments on commit a449c4a

Please sign in to comment.