Skip to content

Commit

Permalink
Require Java 17 and test on Java 17 as Quarkus does the same since Qu…
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Dec 24, 2023
1 parent 40838fc commit 0828b98
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
java-version: 17

- name: Cache local Maven repository
uses: actions/cache@v3
Expand Down Expand Up @@ -86,11 +86,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
java-version: 17

- name: Download Maven Repo
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
java-version: 17

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
java-version: 17
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
Expand Down
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=11.0.21-tem
java=17.0.9-tem
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/contributor-guide/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
documentation.
* If your are on Linux, `docker` is sufficient for the native mode too. Use `-Pnative,docker` instead of `-Pnative`
if you choose this option.
* Java 11
* Java 17
* Maven (`mvn`), Maven Daemon (`mvnd` for fast builds), or Maven Wrapper (`mvnw`)

[[how-to-build]]
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<rpkgtests-maven-plugin.version>1.0.0</rpkgtests-maven-plugin.version>

<!-- maven-compiler-plugin -->
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.release>17</maven.compiler.release>

<!-- maven-enforcer-plugin -->
<enforce-non-deployment.skip>false</enforce-non-deployment.skip>
Expand Down

0 comments on commit 0828b98

Please sign in to comment.