From 806ae6edd7c46c6067f9a31efe0452c483229c33 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 5 May 2021 23:04:30 +0200 Subject: [PATCH 1/2] Update sbt-scala-module to 2.3.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 32698b2..028d3ca 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,2 +1,2 @@ -addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.2.4") +addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.3.0") addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "1.0.0-RC5") From d129747ac2679bfea0fc18a7f229af34a6a7d043 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 5 May 2021 14:46:53 -0700 Subject: [PATCH 2/2] add Automatic-Module-Name --- build.sbt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 1c17e31..13d8357 100644 --- a/build.sbt +++ b/build.sbt @@ -57,7 +57,8 @@ lazy val scalaJava8Compat = (project in file(".")) .settings(ScalaModulePlugin.scalaModuleOsgiSettings) .settings(commonSettings) .settings( - name := "scala-java8-compat" + name := "scala-java8-compat", + scalaModuleAutomaticModuleName := Some("scala.compat.java8"), ) .settings( fork := true, // This must be set so that runner task is forked when it runs fnGen and the compiler gets a proper classpath