Skip to content

Commit

Permalink
Fixes #63 - Update to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Oct 9, 2023
1 parent 3e6c63f commit 591962e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Java
- name: Set up Java 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: Build with Maven
run: mvn -B package
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v1
- name: Set up Java
- name: Set up Java 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
10 changes: 6 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,19 @@
<url>https://github.com/manorrock/parakeet/blob/master/LICENSE</url>
</license>
</licenses>
<properties>
<!-- other -->
<java.version>21</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.0</version>
<configuration>
<release>17</release>
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -154,9 +159,6 @@
</build>
</profile>
</profiles>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<scm>
<connection>scm:git:git://github.com/manorrock/parakeet.git</connection>
<developerConnection>scm:git:[email protected]:manorrock/parakeet.git</developerConnection>
Expand Down

0 comments on commit 591962e

Please sign in to comment.