diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 1a3511a797..6c2efff4dc 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -25,7 +25,7 @@ object Dependencies { val coursierInterfaceV = "1.0.9" val commontTextV = "1.10.0" val googleDiffV = "1.3.0" - val java8CompatV = "0.9.1" + val java8CompatV = "1.0.2" val jgitV = "5.13.1.202206130422-r" val metaconfigFor211V = "0.9.10" // metaconfig stops publishing for scala 2.11 val metaconfigV = "0.11.1" diff --git a/project/ScalafixBuild.scala b/project/ScalafixBuild.scala index 3cd44e9018..03a7bd1e48 100644 --- a/project/ScalafixBuild.scala +++ b/project/ScalafixBuild.scala @@ -197,7 +197,9 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys { // TODO: remove after 0.10.5 libraryDependencySchemes += "com.geirsson" %% "metaconfig-core" % "always", libraryDependencySchemes += "com.geirsson" %% "metaconfig-pprint" % "always", - libraryDependencySchemes += "com.geirsson" %% "metaconfig-typesafe-config" % "always" + libraryDependencySchemes += "com.geirsson" %% "metaconfig-typesafe-config" % "always", + // 0.9.1 -> 1.0.2 is fine, see https://github.com/scala/scala-java8-compat/issues/247 + libraryDependencySchemes += " org.scala-lang.modules" %% "scala-java8-compat" % "always" ) override def projectSettings: Seq[Def.Setting[_]] = List(