From 243db3af5706ff21a0dae2ff182ebaf8d6c0e26d Mon Sep 17 00:00:00 2001 From: Nicolas Rinaudo Date: Wed, 16 Oct 2019 21:06:39 +0200 Subject: [PATCH] Update to the latest Scala versions --- .travis.yml | 4 ++-- build.sbt | 2 +- .../src/test/scala/scoverage/ScoverageCompiler.scala | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 95cfe29a..0ad173ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,8 @@ jdk: scala: - 2.10.7 - 2.11.12 - - 2.12.8 - - 2.13.0 + - 2.12.10 + - 2.13.1 before_cache: - find "$HOME/.sbt/" -name '*.lock' -print0 | xargs -0 rm diff --git a/build.sbt b/build.sbt index c308b42e..9c7d868a 100644 --- a/build.sbt +++ b/build.sbt @@ -11,7 +11,7 @@ val ScalatestVersion = "3.0.8" val appSettings = Seq( organization := Org, scalaVersion := "2.12.8", - crossScalaVersions := Seq("2.10.7", "2.11.12", "2.12.8", "2.13.0"), + crossScalaVersions := Seq("2.10.7", "2.11.12", "2.12.10", "2.13.1"), fork in Test := false, publishMavenStyle := true, publishArtifact in Test := false, diff --git a/scalac-scoverage-plugin/src/test/scala/scoverage/ScoverageCompiler.scala b/scalac-scoverage-plugin/src/test/scala/scoverage/ScoverageCompiler.scala index 7a8e403b..27a824e5 100644 --- a/scalac-scoverage-plugin/src/test/scala/scoverage/ScoverageCompiler.scala +++ b/scalac-scoverage-plugin/src/test/scala/scoverage/ScoverageCompiler.scala @@ -69,8 +69,8 @@ object ScoverageCompiler { } } -class ScoverageCompiler(settings: scala.tools.nsc.Settings, reporter: scala.tools.nsc.reporters.Reporter) - extends scala.tools.nsc.Global(settings, reporter) { +class ScoverageCompiler(settings: scala.tools.nsc.Settings, rep: scala.tools.nsc.reporters.Reporter) + extends scala.tools.nsc.Global(settings, rep) { def addToClassPath(file: File): Unit = { settings.classpath.value = settings.classpath.value + File.pathSeparator + file.getAbsolutePath