Skip to content

Commit

Permalink
try to build with removed JDK 17 settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Gubaer committed Jan 21, 2025
1 parent b2fc83e commit dabb244
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ plugins {
id 'eclipse'
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
//java {
// toolchain {
// languageVersion = JavaLanguageVersion.of(17)
// }
//}

repositories {
mavenLocal()
Expand Down Expand Up @@ -137,8 +137,8 @@ jar {
}

compileJava {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
//sourceCompatibility = JavaVersion.VERSION_17
//targetCompatibility = JavaVersion.VERSION_17
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" << "-Werror"
}

Expand Down

0 comments on commit dabb244

Please sign in to comment.