From 7765fe5dd03eb1ca594253324df189d13022cf20 Mon Sep 17 00:00:00 2001 From: Scala Steward <43047562+scala-steward@users.noreply.github.com> Date: Thu, 28 Nov 2019 09:58:06 +0100 Subject: [PATCH] Update scalameta to 4.3.0 (#304) --- core/src/main/scala/stryker4s/run/Stryker4sRunner.scala | 7 ------- project/Dependencies.scala | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/core/src/main/scala/stryker4s/run/Stryker4sRunner.scala b/core/src/main/scala/stryker4s/run/Stryker4sRunner.scala index 9e582dcf9..c89b0245d 100644 --- a/core/src/main/scala/stryker4s/run/Stryker4sRunner.scala +++ b/core/src/main/scala/stryker4s/run/Stryker4sRunner.scala @@ -10,17 +10,10 @@ import stryker4s.report.Reporter import stryker4s.run.process.ProcessRunner import stryker4s.run.threshold.ScoreStatus -import scala.meta.internal.tokenizers.PlatformTokenizerCache - trait Stryker4sRunner { def run(): ScoreStatus = { implicit val config: Config = ConfigReader.readConfig() - // Scalameta uses a cache file->tokens that exists at a process level - // if one file changes between runs (in the same process, eg a single SBT session) could lead to an error, so - // it is cleaned before it starts. - PlatformTokenizerCache.megaCache.clear() - val collector = new FileCollector(ProcessRunner()) val stryker4s = new Stryker4s( collector, diff --git a/project/Dependencies.scala b/project/Dependencies.scala index beaafb50b..974cd83c1 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -4,7 +4,7 @@ object Dependencies { object versions { val scala212 = "2.12.10" - val scalameta = "4.2.5" + val scalameta = "4.3.0" val pureconfig = "0.12.1" val scalatest = "3.0.8" val mockitoScala = "1.7.1"