Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upgrade to Java 17 #244

Merged
merged 7 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 17 ]
java-version: [ 17, 21 ]
name: Build with Java ${{ matrix.java-version }}

steps:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

MatKuhr marked this conversation as resolved.
Show resolved Hide resolved
- name: Set up Java 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: Setup JDK
with:
distribution: 'adopt'
java-version: 8
java-version: 17

- name: Restore CVE Database
uses: actions/cache/restore@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@

**/.venv/**
**/__pycache__/**
.java-version
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Foundry and Kubernetes (K8S) environment.

## Requirements

- Java `≥ 8`
- Java `≥ 17`
MatKuhr marked this conversation as resolved.
Show resolved Hide resolved
- Java `≥ 8` may be used until version `0.10.5`, version `0.20.0` and onwards require Java `≥ 17`
- Maven `≥ 3.8.1`

### Building the Project
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</distributionManagement>

<properties>
<java.version>1.8</java.version>
<java.version>17</java.version>
<maven.version>3.8</maven.version>
<java.failOnWarning>true</java.failOnWarning>
<skipCveCheck>false</skipCveCheck>
Expand All @@ -63,8 +63,8 @@

<cloud-environment.version>0.10.5</cloud-environment.version>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>

<jsr305.version>3.0.2</jsr305.version>
<slf4j-simple.version>2.0.16</slf4j-simple.version>
Expand Down