summarylogtreecommitdiffstats
path: root/0001-Target-Java-17.patch
blob: 73ce3887ea26bf692e434ec34906cb177d409faf (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 184658690a01c7c4afe3fba8a016379164aa2980 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 50a4f2c00..b3d378d37 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.43.0