build: upgrade Java

1.8 -> 17
This commit is contained in:
2025-06-11 22:06:00 +03:00
parent ecbbfef651
commit 88588378c1

View File

@@ -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 {