diff options
| author | Jack Koenig | 2017-12-18 12:00:48 -0800 |
|---|---|---|
| committer | GitHub | 2017-12-18 12:00:48 -0800 |
| commit | 9f504b9926d38d11fb8003c72360ff11d24b5ef6 (patch) | |
| tree | 0c833f4eacc7d6341cf43bb6a45ce0d688d3abfd | |
| parent | 74de925ab437ef999a92b36630ebc4965992fdbf (diff) | |
Bump SBT to 1.0.4 and update plugins (#742)
| -rw-r--r-- | build.sbt | 4 | ||||
| -rw-r--r-- | project/build.properties | 2 | ||||
| -rw-r--r-- | project/plugins.sbt | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -10,7 +10,7 @@ def scalacOptionsVersion(scalaVersion: String): Seq[String] = { // switch to support our anonymous Bundle definitions: // https://github.com/scala/bug/issues/10047 CrossVersion.partialVersion(scalaVersion) match { - case Some((2, scalaMajor: Int)) if scalaMajor < 12 => Seq() + case Some((2, scalaMajor: Long)) if scalaMajor < 12 => Seq() case _ => Seq("-Xsource:2.11") } } @@ -22,7 +22,7 @@ def javacOptionsVersion(scalaVersion: String): Seq[String] = { // Java 7 compatible code for Scala 2.11 // for compatibility with old clients. CrossVersion.partialVersion(scalaVersion) match { - case Some((2, scalaMajor: Int)) if scalaMajor < 12 => + case Some((2, scalaMajor: Long)) if scalaMajor < 12 => Seq("-source", "1.7", "-target", "1.7") case _ => Seq("-source", "1.8", "-target", "1.8") diff --git a/project/build.properties b/project/build.properties index c091b86c..394cb75c 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=0.13.16 +sbt.version=1.0.4 diff --git a/project/plugins.sbt b/project/plugins.sbt index 7deee8b3..0768a361 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -6,7 +6,7 @@ resolvers += "jgit-repo" at "http://download.eclipse.org/jgit/maven" addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0") -addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.0") +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1") addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.2") |
