Skip to content

Commit

Permalink
Set compiler version to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhahmann committed Nov 26, 2024
1 parent e9c2988 commit 9ecec33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '8'
java-version: '21'
distribution: 'zulu'
cache: 'maven'
- name: Set up CI environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '17'
java-version: '21'
distribution: 'zulu'
cache: 'maven'

Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<version>0.3.5-SNAPSHOT</version>

<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<package-name>org.mastodon</package-name>
<license.licenseName>bsd_2</license.licenseName>
<license.projectName>mastodon-deep-lineage</license.projectName>
Expand Down

0 comments on commit 9ecec33

Please sign in to comment.