This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-management.git
The following commit(s) were added to refs/heads/main by this push:
new 60a1ee1f Update sbt-java-formatter to 0.10.0 (#700)
60a1ee1f is described below
commit 60a1ee1f501c06df72e73c7663e1495a88e14d04
Author: Scala Steward <[email protected]>
AuthorDate: Tue Mar 17 21:35:02 2026 +0100
Update sbt-java-formatter to 0.10.0 (#700)
* Update sbt-java-formatter to 0.10.0
* Update .sbtopts
* ignore files in jdoc folder
---------
Co-authored-by: PJ Fanning <[email protected]>
---
.sbtopts | 6 ++++++
build.sbt | 4 ++++
project/plugins.sbt | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.sbtopts b/.sbtopts
index e2b689a1..5d1eb8b3 100644
--- a/.sbtopts
+++ b/.sbtopts
@@ -2,3 +2,9 @@
-J-Xms1024M
-Dmultinode.XX:MetaspaceSize=128M
-J-XX:+AlwaysActAsServerClassMachine
+-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
+-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
+
diff --git a/build.sbt b/build.sbt
index 4d7d92ca..c617ce7f 100644
--- a/build.sbt
+++ b/build.sbt
@@ -24,6 +24,10 @@ commands := commands.value.filterNot { command =>
ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo
+ThisBuild / javafmt / excludeFilter := (javafmt / excludeFilter).value || new
SimpleFileFilter(
+
_.getCanonicalPath.contains(s"${java.io.File.separator}jdoc${java.io.File.separator}")
+)
+
inThisBuild(Def.settings(
Global / onLoad := {
sLog.value.info(
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 7133126b..0c5bf3eb 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -11,7 +11,7 @@ addSbtPlugin("com.github.sbt" % "sbt-native-packager" %
"1.11.7")
addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.6")
-addSbtPlugin("com.github.sbt" % "sbt-java-formatter" % "0.9.0")
+addSbtPlugin("com.github.sbt" % "sbt-java-formatter" % "0.10.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.6.1")
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" %
"3.0.2")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]