This is an automated email from the ASF dual-hosted git repository.

pjfanning pushed a commit to branch sbt2-compat
in repository https://gitbox.apache.org/repos/asf/pekko-sbt-paradox.git

commit 15bb465dcf396bbba0dd301e24fd3e3f1fef9443
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Jul 13 14:32:58 2026 +0100

    support sbt 2 plugin format
---
 build.sbt           | 11 ++++++++++-
 project/plugins.sbt |  4 ++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/build.sbt b/build.sbt
index 3b4773f..74b9e2a 100644
--- a/build.sbt
+++ b/build.sbt
@@ -18,9 +18,17 @@
 import 
net.bzzt.reproduciblebuilds.ReproducibleBuildsPlugin.reproducibleBuildsCheckResolver
 
 val scala212 = "2.12.21"
+val scala3 = "3.8.4"
 
 ThisBuild / scalaVersion := scala212
-ThisBuild / crossScalaVersions := Seq(scala212)
+ThisBuild / crossScalaVersions := Seq(scala212, scala3)
+
+(pluginCrossBuild / sbtVersion) := {
+  scalaBinaryVersion.value match {
+    case "2.12" => "1.12.13"
+    case _      => "2.0.1"
+  }
+}
 
 ThisBuild / apacheSonatypeProjectProfile := "pekko"
 ThisBuild / dynverSonatypeSnapshots := true
@@ -80,6 +88,7 @@ lazy val pekkoPlugin = project
     addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-apidoc" % "1.1.0"),
     addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-project-info" % 
"3.0.1"),
     addSbtPlugin("com.github.sbt" % "sbt-paradox-material-theme" % "0.7.0"),
+    addSbtPlugin("com.github.sbt" % "sbt2-compat" % "0.1.0"),
     Compile / resourceGenerators += Def.task {
       val file = (Compile / resourceManaged).value / "pekko-paradox.properties"
       IO.write(file, s"pekko.paradox.version=${version.value}")
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 6e03d47..15ba295 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -26,3 +26,7 @@ addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % 
"0.1.12")
 addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.13")
 addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.35")
 addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.31.0")
+addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.31.0")
+
+// https://eed3si9n.com/reducing-scaladoc-file-size-with-sbt-salad-days/
+addSbtPlugin("com.eed3si9n" % "sbt-salad-days" % "0.2.0")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to