This is an automated email from the ASF dual-hosted git repository. Philippus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/pekko-projection.git
commit 1fcac134d350889e8ee7f969fe51e69cdf5d9944 Author: Philippus <[email protected]> AuthorDate: Mon May 4 08:36:12 2026 +0200 Update sbt-java-formatter to 0.12.0 --- build.sbt | 1 + project/Common.scala | 2 ++ project/plugins.sbt | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 0f8c084..6559351 100644 --- a/build.sbt +++ b/build.sbt @@ -17,6 +17,7 @@ sourceDistIncubating := false ThisBuild / evictionErrorLevel := Level.Info ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo +ThisBuild / javafmtFormatterCompatibleJavaVersion := 17 lazy val core = Project(id = "core", base = file("core")) diff --git a/project/Common.scala b/project/Common.scala index cae21c7..e64e849 100644 --- a/project/Common.scala +++ b/project/Common.scala @@ -16,6 +16,7 @@ import sbt._ import sbt.plugins.JvmPlugin import com.typesafe.tools.mima.plugin.MimaKeys._ import sbtdynver.DynVerPlugin +import com.github.sbt.JavaFormatterPlugin.autoImport.javafmtSortImports object Common extends AutoPlugin { @@ -63,6 +64,7 @@ object Common extends AutoPlugin { Seq("-skip-packages", "org.apache.pekko.pattern") }), autoAPIMappings := true, + javafmtSortImports := false, apiURL := Some(url(s"https://pekko.apache.org/api/pekko-projection/${projectInfoVersion.value}")), // show full stack traces and test case durations Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-oDF"), diff --git a/project/plugins.sbt b/project/plugins.sbt index 539dd31..0baa674 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -8,7 +8,7 @@ */ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.6.0") -addSbtPlugin("com.github.sbt" % "sbt-java-formatter" % "0.11.0") +addSbtPlugin("com.github.sbt" % "sbt-java-formatter" % "0.12.0") addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0") addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1") --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
