Skip to content

Commit

Permalink
Upgrade to Scala 2.12.7
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Oct 1, 2018
1 parent 3d4f1f5 commit 43c6cb1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions bin/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ coursier fetch \
ch.epfl.scala:scalafix-core_2.11:$version \
ch.epfl.scala:scalafix-core_2.12:$version \
ch.epfl.scala:scalafix-reflect_2.11.12:$version \
ch.epfl.scala:scalafix-reflect_2.12.6:$version \
ch.epfl.scala:scalafix-reflect_2.12.7:$version \
ch.epfl.scala:scalafix-cli_2.11.12:$version \
ch.epfl.scala:scalafix-cli_2.12.6:$version \
ch.epfl.scala:scalafix-cli_2.12.7:$version \
ch.epfl.scala:scalafix-testkit_2.11.12:$version \
ch.epfl.scala:scalafix-testkit_2.12.6:$version \
ch.epfl.scala:scalafix-testkit_2.12.7:$version \
-r sonatype:releases
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import Dependencies._
inThisBuild(
List(
onLoadMessage := s"Welcome to scalafix ${version.value}",
scalaVersion := "2.12.6",
crossScalaVersions := List("2.12.6", "2.11.12")
scalaVersion := "2.12.7",
crossScalaVersions := List("2.12.7", "2.11.12")
)
)

Expand Down Expand Up @@ -237,7 +237,7 @@ lazy val docs = project
scalaVersion := scala212,
crossScalaVersions := List(scala212),
libraryDependencies ++= List(
"com.geirsson" % "mdoc" % "0.4.5" cross CrossVersion.full,
"com.geirsson" % "mdoc" % "0.5.0" cross CrossVersion.full,
"com.geirsson" %% "metaconfig-docs" % metaconfigV,
"org.scalameta" % "interactive" % scalametaV cross CrossVersion.full
)
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ object Dependencies {
def dotty = "0.9.0-RC1"
def scala210 = "2.10.6"
def scala211 = "2.11.12"
def scala212 = "2.12.6"
def scala212 = "2.12.7"
val currentScalaVersion = scala212

def sbt013 = "0.13.17"
Expand Down
4 changes: 2 additions & 2 deletions project/ScalafixBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys {
s
},
commands += Command.command("ci-212") { s =>
"++2.12.6" ::
"++2.12.7" ::
"unit/test" ::
"docs/run" ::
"interfaces/doc" ::
Expand All @@ -195,7 +195,7 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys {
s
},
commands += Command.command("ci-212-windows") { s =>
"++2.12.6" ::
"++2.12.7" ::
s"unit/testOnly -- -l scalafix.internal.tests.utils.SkipWindows" ::
s
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public interface ScalafixArguments {

/**
* @param version The Scala compiler version used to compile this classpath.
* For example "2.12.6".
* For example "2.12.7".
*
*/
ScalafixArguments withScalaVersion(String version);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class CliSyntacticSuite extends BaseCliSuite {

checkCommandLineError(
"--scala-version error",
Array("-r", "Scala2_9", "--scala-version", "2.12.6"), { out =>
Array("-r", "Scala2_9", "--scala-version", "2.12.7"), { out =>
assert(out.contains("must start with 2.9"))
}
)
Expand Down

0 comments on commit 43c6cb1

Please sign in to comment.