Skip to content

Commit

Permalink
Update to Java 22
Browse files Browse the repository at this point in the history
  • Loading branch information
Obydux committed Aug 13, 2024
1 parent 727c602 commit 9572ca1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
- name: Set up JDK 22
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '22'
distribution: 'temurin'
cache: maven
- name: Build nPaper
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
- name: Set up JDK 22
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '22'
distribution: 'temurin'
cache: maven
- name: Build nPaper
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: java
jdk:
- openjdk8
- openjdk22
notifications:
email: false
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Requirements

To build nPaper, the following will need to be installed and available from your shell:

* [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
* [JDK 22](https://www.oracle.com/ca-en/java/technologies/downloads/#java22)
* [Git](https://git-scm.com)
* [Maven](https://maven.apache.org)
6 changes: 3 additions & 3 deletions nPaper-API/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>2.9.3</version>
<version>3.1.8</version>
</dependency>


Expand Down Expand Up @@ -111,8 +111,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>22</source>
<target>22</target>
</configuration>
</plugin>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions nPaper-Server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>22</source>
<target>22</target>
</configuration>
</plugin>
<!--
Expand Down

0 comments on commit 9572ca1

Please sign in to comment.