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-r2dbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 4d1377f  use java 17 as min version (#244)
4d1377f is described below

commit 4d1377fa985cbfe6730f50a8544596908ee8e7c5
Author: PJ Fanning <[email protected]>
AuthorDate: Sat Sep 27 15:18:43 2025 +0100

    use java 17 as min version (#244)
    
    * use java 17 as min version
    
    * Update build-test.yml
    
    * Update build-test.yml
---
 .github/workflows/binary-compatibility-checks.yml |  4 ++--
 .github/workflows/build-test.yml                  | 20 ++++++--------------
 .github/workflows/headers.yml                     |  4 ++--
 .github/workflows/link-validator.yml              |  4 ++--
 .github/workflows/publish-nightly.yml             |  4 ++--
 .scala-steward.conf                               | 11 -----------
 project/CommonSettings.scala                      |  2 +-
 project/plugins.sbt                               |  5 +++--
 project/project-info.conf                         |  2 +-
 9 files changed, 19 insertions(+), 37 deletions(-)

diff --git a/.github/workflows/binary-compatibility-checks.yml 
b/.github/workflows/binary-compatibility-checks.yml
index 52765ec..7a8682a 100644
--- a/.github/workflows/binary-compatibility-checks.yml
+++ b/.github/workflows/binary-compatibility-checks.yml
@@ -20,11 +20,11 @@ jobs:
           fetch-depth: 0
           fetch-tags: 0
 
-      - name: Setup Java 11
+      - name: Setup Java 17
         uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # 
v4.7.1
         with:
           distribution: temurin
-          java-version: 11
+          java-version: 17
 
       - name: Install sbt
         uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index 49fadd6..0037aea 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -14,7 +14,7 @@ jobs:
     strategy:
       matrix:
         SCALA_VERSION: [ 2.13, 3.3 ]
-        JAVA_VERSION: [ 8, 11, 17, 21 ]
+        JAVA_VERSION: [ 17, 21 ]
     steps:
       - name: Checkout
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 
v4.2.2
@@ -46,7 +46,7 @@ jobs:
     strategy:
       matrix:
         SCALA_VERSION: [ 2.13, 3.3 ]
-        JAVA_VERSION: [ 8, 11 ]
+        JAVA_VERSION: [ 17 ]
     if: github.repository == 'apache/pekko-persistence-r2dbc'
     steps:
       - name: Checkout
@@ -96,7 +96,7 @@ jobs:
     strategy:
       matrix:
         SCALA_VERSION: [ 2.13, 3.3 ]
-        JAVA_VERSION: [ 8, 11 ]
+        JAVA_VERSION: [ 17 ]
     if: github.repository == 'apache/pekko-persistence-r2dbc'
     steps:
       - name: Checkout
@@ -146,15 +146,7 @@ jobs:
     strategy:
       matrix:
         SCALA_VERSION: [ 2.13, 3.3 ]
-        JAVA_VERSION: [ 11, 17, 21 ]
-        # only compiling on JDK 8, because certain tests depend on the higher 
timestamp precision added in JDK 9
-        include:
-          - JAVA_VERSION: 8
-            SCALA_VERSION: 2.13
-            COMPILE_ONLY: true
-          - JAVA_VERSION: 8
-            SCALA_VERSION: 3.3
-            COMPILE_ONLY: true
+        JAVA_VERSION: [ 17, 21 ]
     if: github.repository == 'apache/pekko-persistence-r2dbc'
     steps:
       - name: Checkout
@@ -213,11 +205,11 @@ jobs:
           git fetch origin pull/${{ github.event.pull_request.number 
}}/merge:scratch
           git checkout scratch
 
-      - name: Set up JDK 11
+      - name: Set up JDK 17
         uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # 
v4.7.1
         with:
           distribution: temurin
-          java-version: 11
+          java-version: 17
 
       - name: Install sbt
         uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
diff --git a/.github/workflows/headers.yml b/.github/workflows/headers.yml
index 8ee41dd..e6c7428 100644
--- a/.github/workflows/headers.yml
+++ b/.github/workflows/headers.yml
@@ -13,11 +13,11 @@ jobs:
       - name: Checkout
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 
v4.2.2
 
-      - name: Setup Java 11
+      - name: Setup Java 17
         uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # 
v4.7.1
         with:
           distribution: temurin
-          java-version: 11
+          java-version: 17
 
       - name: Install sbt
         uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
diff --git a/.github/workflows/link-validator.yml 
b/.github/workflows/link-validator.yml
index ce8e6d8..00696bd 100644
--- a/.github/workflows/link-validator.yml
+++ b/.github/workflows/link-validator.yml
@@ -22,11 +22,11 @@ jobs:
           git fetch origin pull/${{ github.event.pull_request.number 
}}/merge:scratch
           git checkout scratch
 
-      - name: Setup Java 8
+      - name: Setup Java 17
         uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # 
v4.7.1
         with:
           distribution: temurin
-          java-version: 8
+          java-version: 17
 
       - name: Install sbt
         uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
diff --git a/.github/workflows/publish-nightly.yml 
b/.github/workflows/publish-nightly.yml
index 4ae550d..865bd24 100644
--- a/.github/workflows/publish-nightly.yml
+++ b/.github/workflows/publish-nightly.yml
@@ -21,11 +21,11 @@ jobs:
           fetch-depth: 0
           fetch-tags: true
 
-      - name: Setup Java 8
+      - name: Setup Java 17
         uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # 
v4.7.1
         with:
           distribution: temurin
-          java-version: 8
+          java-version: 17
 
       - name: Install sbt
         uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
diff --git a/.scala-steward.conf b/.scala-steward.conf
index a3a4e9c..440df0c 100644
--- a/.scala-steward.conf
+++ b/.scala-steward.conf
@@ -2,17 +2,6 @@ updates.ignore = [
 ]
 
 updates.pin = [
-
-  # Pin logback to v1.3.x because v1.4.x needs JDK11
-  { groupId = "ch.qos.logback", version="1.3." }
-
-  # Pin sbt-paradox to v0.9.x because 0.10.x needs JDK 11
-  { groupId = "com.lightbend.paradox", artifactId = 
"sbt-paradox-project-info", version = "0.9." },
-  { groupId = "com.lightbend.paradox", artifactId = "sbt-paradox", version = 
"0.9." }
-
-  # Pin sbt-java-formatter to v0.9.x because 0.10.x needs JDK 11
-  { groupId = "com.github.sbt", artifactId = "sbt-java-formatter", version = 
"0.9." }
-
   # Scala 3.3 is a LTS
   { groupId = "org.scala-lang", artifactId = "scala3-library", version = 
"3.3." }
 ]
diff --git a/project/CommonSettings.scala b/project/CommonSettings.scala
index 6195661..55956d5 100644
--- a/project/CommonSettings.scala
+++ b/project/CommonSettings.scala
@@ -25,7 +25,7 @@ object CommonSettings extends AutoPlugin {
     scalaVersion := Dependencies.Scala213,
     crossVersion := CrossVersion.binary,
     // Setting javac options in common allows IntelliJ IDEA to import them 
automatically
-    Compile / javacOptions ++= Seq("-encoding", "UTF-8", "-source", "1.8", 
"-target", "1.8"),
+    Compile / javacOptions ++= Seq("-encoding", "UTF-8", "--release", "17"),
     Test / logBuffered := false,
     Test / parallelExecution := false,
     // show full stack traces and test case durations
diff --git a/project/plugins.sbt b/project/plugins.sbt
index e157b3f..a6d8955 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -22,5 +22,6 @@ addSbtPlugin("com.github.sbt" % "sbt-license-report" % 
"1.8.0")
 
 //// docs
 addSbtPlugin("org.apache.pekko" % "pekko-sbt-paradox" % "1.0.1")
-addSbtPlugin(("com.github.sbt" % "sbt-site-paradox" % "1.7.0").excludeAll(
-  "com.lightbend.paradox", "sbt-paradox"))
+addSbtPlugin("com.github.sbt" % "sbt-site-paradox" % "1.7.0")
+addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-theme" % "0.10.7")
+addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.10.7")
diff --git a/project/project-info.conf b/project/project-info.conf
index 84ce36a..8b35737 100644
--- a/project/project-info.conf
+++ b/project/project-info.conf
@@ -1,7 +1,7 @@
 project-info {
   version: "current"
   shared-info {
-    jdk-versions: ["OpenJDK 8", "OpenJDK 11", "OpenJDK 17", "OpenJDK 21"]
+    jdk-versions: ["OpenJDK 17", "OpenJDK 21"]
     issues: {
       url: "https://github.com/apache/pekko-persistence-r2dbc/issues";
       text: "Github issues"


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

Reply via email to