Skip to content

Commit

Permalink
Disable java 7 source obsolete warning. (#5168)
Browse files Browse the repository at this point in the history
We treat warnings as errors, so this warning breaks the build in AS in
some versions. It's not immediately actionable, so we might as well
disable the warning.
  • Loading branch information
sjudd authored Jun 8, 2023
1 parent 26ecf64 commit 2498f51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ subprojects { project ->
"-Werror",
//Enable all warnings.
"-Xlint:all",
// Disable warnings about source 7 being obsolete.
"-Xlint:-options",
// Java expects every annotation to have a processor, but we use
// javax.annotation.Nullable, which doesn't have one.
"-Xlint:-processing",
Expand Down

0 comments on commit 2498f51

Please sign in to comment.