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-persistence-jdbc.git


The following commit(s) were added to refs/heads/main by this push:
     new de34135  more build changes (#333)
de34135 is described below

commit de34135ef1d5d10c87ecdd3b6b59f1aec1c8b55a
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Sep 22 19:40:06 2025 +0100

    more build changes (#333)
    
    * more build changes
    
    * Update ProjectAutoPlugin.scala
---
 project/ProjectAutoPlugin.scala | 25 +++++++++----------------
 project/project-info.conf       |  2 +-
 2 files changed, 10 insertions(+), 17 deletions(-)

diff --git a/project/ProjectAutoPlugin.scala b/project/ProjectAutoPlugin.scala
index 8d1642a..62bf956 100644
--- a/project/ProjectAutoPlugin.scala
+++ b/project/ProjectAutoPlugin.scala
@@ -49,22 +49,21 @@ object ProjectAutoPlugin extends AutoPlugin {
       "-Xlog-reflective-calls",
       "-language:higherKinds",
       "-language:implicitConversions",
-      "-release:8"),
+      "-release:17"),
     Compile / scalacOptions ++= 
(CrossVersion.partialVersion(scalaVersion.value) match {
-      case Some((2, 13)) =>
-        disciplineScalacOptions -- Set(
-          "-Ywarn-inaccessible",
-          "-Ywarn-infer-any",
-          "-Ywarn-nullary-override",
-          "-Ywarn-nullary-unit",
-          "-Ypartial-unification",
-          "-Yno-adapted-args")
-      case Some((2, 12)) =>
+      case Some((2, _)) =>
         disciplineScalacOptions
       case _ =>
         Nil
     }).toSeq,
     scalacOptions += "-Ydelambdafy:method",
+    Compile / javacOptions ++= Seq(
+      "-encoding",
+      "UTF-8",
+      "-Xlint:unchecked",
+      "-Xlint:deprecation",
+      "--release",
+      "17"),
     Compile / doc / scalacOptions := scalacOptions.value ++ Seq(
       "-doc-title",
       "Apache Pekko Persistence JDBC",
@@ -91,16 +90,10 @@ object ProjectAutoPlugin extends AutoPlugin {
   val disciplineScalacOptions = Set(
 //    "-Xfatal-warnings",
     "-feature",
-    "-Yno-adapted-args",
     "-deprecation",
     "-Xlint",
     "-Ywarn-dead-code",
-    "-Ywarn-inaccessible",
-    "-Ywarn-infer-any",
-    "-Ywarn-nullary-override",
-    "-Ywarn-nullary-unit",
     "-Ywarn-unused:_",
-    "-Ypartial-unification",
     "-Ywarn-extra-implicit")
 
 }
diff --git a/project/project-info.conf b/project/project-info.conf
index ff2faf5..55f3cc8 100644
--- a/project/project-info.conf
+++ b/project/project-info.conf
@@ -2,7 +2,7 @@ project-info {
   version: "current"
   scaladoc: 
"https://pekko.apache.org/api/pekko-persistence-jdbc/"${project-info.version}"/org/apache/pekko/persistence/jdbc/";
   shared-info {
-    jdk-versions: ["OpenJDK 8", "OpenJDK 11", "OpenJDK 17", "OpenJDK 21"]
+    jdk-versions: ["OpenJDK 17", "OpenJDK 21"]
     snapshots: {
       url: "snapshots.html"
       text: "Snapshots are available"


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

Reply via email to