Skip to content

Commit

Permalink
KAFKA-14680: specific Scala compiler warning is suppressed (workaroun…
Browse files Browse the repository at this point in the history
…d for Gradle 8.0.1)
  • Loading branch information
dejan2609 committed Feb 21, 2023
1 parent b849506 commit 5ffbb0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Expand Up @@ -666,6 +666,7 @@ subprojects {

if (versions.baseScala != '2.12') {
scalaCompileOptions.additionalParameters += ["-opt-warnings", "-Xlint:strict-unsealed-patmat"]
scalaCompileOptions.additionalParameters += ["-Wconf:msg=Use -release instead to compile against the correct platform API:silent"]
// Scala 2.13.2 introduces compiler warnings suppression, which is a pre-requisite for -Xfatal-warnings
scalaCompileOptions.additionalParameters += ["-Xfatal-warnings"]
}
Expand Down

0 comments on commit 5ffbb0a

Please sign in to comment.