summarylogtreecommitdiffstats
path: root/0001-Target-java-17.patch
blob: 8c4eb9a3bdfcfaa197ab275a8e6d0cb9c8a8f26b (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 90c231868a64602632093eee5bc810152f3ba858 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/3] 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 8d6a9ce2..674cf430 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -23,8 +23,8 @@ subprojects {
     }
 
     tasks.withType<JavaCompile> {
-        sourceCompatibility = "1.8"
-        targetCompatibility = "1.8"
+        sourceCompatibility = "17"
+        targetCompatibility = "17"
 
         options.encoding = "UTF-8"
     }
-- 
2.38.1