build: upgrade Java
1.8 -> 17
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
//file:noinspection all
|
||||||
wrapper {
|
wrapper {
|
||||||
gradleVersion = "8.10"
|
gradleVersion = "8.10"
|
||||||
distributionType = Wrapper.DistributionType.BIN
|
distributionType = Wrapper.DistributionType.BIN
|
||||||
@@ -10,8 +11,9 @@ subprojects { prj ->
|
|||||||
version = "1.2.5"
|
version = "1.2.5"
|
||||||
|
|
||||||
compileJava {
|
compileJava {
|
||||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
|
options.compilerArgs << "-Xlint:-unchecked" << "-Xlint:-deprecation"
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|||||||
Reference in New Issue
Block a user