diff options
author | 2024-05-28 17:27:22 +0100 | |
---|---|---|
committer | 2024-05-28 17:37:20 +0100 | |
commit | baf34783a43af264fe3c2301a690c9a434a2549b (patch) | |
tree | b9d8d2e9565e9ae713d47cebd953a13a4e3437df /java/java.go | |
parent | 585564cab22ec21467c6e37b091974e2fac43889 (diff) |
Update build to handle documentation issues being errors
Previously, documentation issues had `lint` severity (which was between
`warning` and `hide`) by default. However, a recent change in Metalava
switched documentation issues to `error`. That broke some `droidstubs`
modules that either did not specify `api_lint` or were previously allow
listed to not use `--lints-as-errors`.
This change adds `--error-when-new-category Documentation` to the
Metalava arguments on any use of `droidstubs` that did not previously
specify `--lints-as-errors` to prevent the build breakage while still
warning developers of the problem and preventing new cases being added.
Bug: 343157584
Test: ./gradlew
Change-Id: Id80bc05e2dade580b2f3ac6416aeeed6b64ba22a
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions