summarylogtreecommitdiffstats
path: root/0001-Target-Java-17.patch
blob: fd9461f942c3449b201ac31c4478d0c5b0501536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 324a32d069163014fc19546bc937a279ba7c468c Mon Sep 17 00:00:00 2001
From: Aviana Cruz <gwencroft@proton.me>
Date: Sun, 6 Nov 2022 13:28:59 +0800
Subject: [PATCH 1/2] Target Java 17

Signed-off-by: Aviana Cruz <gwencroft@proton.me>
---
 build.gradle.kts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.gradle.kts b/build.gradle.kts
index deccd9e5c..7c421c91a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -24,8 +24,8 @@ subprojects {
     }
 
     tasks.withType<JavaCompile> {
-        sourceCompatibility = "1.8"
-        targetCompatibility = "1.8"
+        sourceCompatibility = "17"
+        targetCompatibility = "17"
 
         options.encoding = "UTF-8"
     }
-- 
2.44.0