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/incubator-pekko-http-quickstart-java.g8.git
The following commit(s) were added to refs/heads/main by this push:
new 74dce10 require java 17
74dce10 is described below
commit 74dce10455cacbecbe171baeba82b2b12e73488d
Author: PJ Fanning <[email protected]>
AuthorDate: Wed Dec 6 14:23:56 2023 +0100
require java 17
---
.github/workflows/ci.yml | 4 ++--
README.md | 2 +-
src/main/g8/pom.xml | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c7ea306..b2abd96 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,10 +15,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- - name: Set up JDK 11
+ - name: Set up JDK 17
uses: coursier/[email protected]
with:
- jvm: temurin:1.11
+ jvm: temurin:1.17
- name: Cache Coursier cache
uses: coursier/[email protected]
diff --git a/README.md b/README.md
index 2ed3e9f..43b90f3 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
You can use [Giter8][g8] to create your own project from the quickstart.
Prerequisites:
-- JDK 8
+- JDK 17 (Java Records used in the sample code)
- sbt 1.9.x or higher
Open a console and run the following command to apply this template:
diff --git a/src/main/g8/pom.xml b/src/main/g8/pom.xml
index 2ad7f6b..b6cb071 100644
--- a/src/main/g8/pom.xml
+++ b/src/main/g8/pom.xml
@@ -74,8 +74,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
- <source>8</source>
- <target>8</target>
+ <source>17</source>
+ <target>17</target>
</configuration>
</plugin>
<plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]