From 38eac2caeb250cb2891eefd230cc8a9ea3fabf84 Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Wed, 15 Apr 2026 14:43:43 +0200 Subject: [PATCH] --added-exports not needed anymore in scriptedLaunchOpts --- build.sbt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/build.sbt b/build.sbt index 80a66bf..80b0bb8 100644 --- a/build.sbt +++ b/build.sbt @@ -37,15 +37,6 @@ lazy val plugin = project scriptedLaunchOpts.value ++ Seq("-Xmx1024M", "-Dplugin.version=" + version.value) }, - scriptedLaunchOpts ++= { - if (scala.util.Properties.isJavaAtLeast("17")) { - Seq("api", "code", "file", "parser", "tree", "util").map { x => - s"--add-exports=jdk.compiler/com.sun.tools.javac.${x}=ALL-UNNAMED" - } - } else { - Nil - } - }, scriptedBufferLog := false, scalafmtOnCompile := !insideCI.value)