From 88588378c1e49b945645f80e11ab2fed6b445575 Mon Sep 17 00:00:00 2001 From: Voomra Date: Wed, 11 Jun 2025 22:06:00 +0300 Subject: [PATCH] build: upgrade Java 1.8 -> 17 --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 6b58c05..cc06284 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,4 @@ +//file:noinspection all wrapper { gradleVersion = "8.10" distributionType = Wrapper.DistributionType.BIN @@ -10,8 +11,9 @@ subprojects { prj -> version = "1.2.5" compileJava { - sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17 options.encoding = "UTF-8" + options.compilerArgs << "-Xlint:-unchecked" << "-Xlint:-deprecation" } repositories {