Skip to content

Commit 6a9bfe0

Browse files
committed
Upated to Java 17
1 parent dfd5e95 commit 6a9bfe0

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Set up JDK 11
14+
- name: Set up JDK
1515
uses: actions/setup-java@v4
1616
with:
17-
java-version: 11
17+
java-version: '17'
18+
distribution: 'temurin'
1819
- name: Build with Maven
1920
run: mvn -B package --file pom.xml

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
- name: Set up Java
1212
uses: actions/setup-java@v4
1313
with:
14-
java-version: '11'
15-
distribution: 'adopt'
14+
java-version: '17'
15+
distribution: 'temurin'
1616
- name: Publish package
1717
env:
1818
JRELEASER_NEXUS2_USERNAME: ${{ secrets.JRELEASER_NEXUS2_USERNAME }}

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</license>
2626
</licenses>
2727
<properties>
28-
<java.version>11</java.version>
28+
<java.version>17</java.version>
2929
<assertj-core.version>3.24.2</assertj-core.version>
3030
<kotlin-stdlib.version>1.9.22</kotlin-stdlib.version>
3131
<arrow-core.version>1.2.1</arrow-core.version>
@@ -144,8 +144,8 @@
144144
<groupId>org.apache.maven.plugins</groupId>
145145
<artifactId>maven-compiler-plugin</artifactId>
146146
<configuration>
147-
<source>11</source>
148-
<target>11</target>
147+
<source>17</source>
148+
<target>17</target>
149149
<encoding>${project.build.sourceEncoding}</encoding>
150150
</configuration>
151151
</plugin>

0 commit comments

Comments
 (0)