Skip to content

Commit

Permalink
upgrade build jdk to 17 (#440)
Browse files Browse the repository at this point in the history
* upgrade build jdk to 17

* Update pom.xml

* java 17

* java 17

* java 17
  • Loading branch information
elopezcastro authored Jan 22, 2024
1 parent 620b38d commit 7cadba3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ jobs:
${{ runner.os }}-
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 11
distribution: "zulu"
java-version: "17"
server-id: ossrh
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/legend-stack-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: "zulu"
java-version: "11"
java-version: "17"
server-id: ossrh
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ossrh-close-staging-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: "zulu"
java-version: "11"
java-version: "17"
server-id: ossrh
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: "zulu"
java-version: "11"
java-version: "17"
server-id: ossrh
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
<maven.compiler>1.8</maven.compiler>
<java.version.range>[11,12),[17,18)</java.version.range>

<!-- Legend dependency versions -->
<legend.shared.version>0.24.1</legend.shared.version>
Expand Down Expand Up @@ -279,7 +280,7 @@
<configuration>
<rules>
<requireJavaVersion>
<version>[11,12)</version>
<version>${java.version.range}</version>
</requireJavaVersion>
<dependencyConvergence />
<bannedDependencies>
Expand Down

0 comments on commit 7cadba3

Please sign in to comment.