From 6bb5f374e3a196aad0d76a81197b3585b993b85d Mon Sep 17 00:00:00 2001
From: Allink <arclicious@vivaldi.net>
Date: Sat, 21 May 2022 20:11:53 +0100
Subject: [PATCH] Compile with Java 17

---
 .github/workflows/main.yml | 2 +-
 pom.xml                    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0aa48e3..eb720bc 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -15,7 +15,7 @@ jobs:
     - uses: actions/setup-java@v2
       with:
         distribution: 'temurin'
-        java-version: 8
+        java-version: 17
 
     - name: Cache maven packages to speed up build
       uses: actions/cache@v1
diff --git a/pom.xml b/pom.xml
index 07bd968..15b379e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,8 +5,8 @@
     <version>master</version>
 
     <properties>
-        <maven.compiler.source>1.8</maven.compiler.source>
-        <maven.compiler.target>1.8</maven.compiler.target>
+        <maven.compiler.source>17</maven.compiler.source>
+        <maven.compiler.target>17</maven.compiler.target>
         <maven.test.skip>true</maven.test.skip>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>