Skip to content

Commit

Permalink
Fix java-version-checker source/target compatibility settings (#2354)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Mar 4, 2022
1 parent 1c7a2b8 commit 8ffa36e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distribution/tools/java-version-checker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

apply plugin: 'opensearch.build'

targetCompatibility = JavaVersion.VERSION_1_7
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
// targetting very old java versions enables a warning by default on newer JDK: disable it.
compileJava.options.compilerArgs += '-Xlint:-options'

Expand Down

0 comments on commit 8ffa36e

Please sign in to comment.