Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ maven.install(
# Args Parsing
"com.xenomachina:kotlin-argparser:2.0.7",
# Lint Dependencies
"com.android.tools.lint:lint:32.4.1",
"com.android.tools.lint:lint-api:32.4.1",
"com.android.tools.lint:lint-checks:32.4.1",
"com.android.tools.lint:lint-model:32.4.1",
"com.android.tools.lint:lint:32.5.1",
"com.android.tools.lint:lint-api:32.5.1",
"com.android.tools.lint:lint-checks:32.5.1",
"com.android.tools.lint:lint-model:32.5.1",
],
lock_file = "//:maven_install.json",
repositories = [
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ common --repo_env=ACCEPTED_ANDROID_SDK_LICENSE_VERSION=34

### Using a different Android Lint version

Lint 32.5.1 adds a `suppressNames` parameter to `LintXmlConfiguration.IssueData`.
If your custom check calls the old parameterized constructor or `copy` method,
rebuild it against 32.5.1 (Java callers can pass `null` for the new parameter).
Otherwise the precompiled check can fail with `NoSuchMethodError`. Custom checks
also can no longer rely on the bundled Lint jar to provide `ddmlib`. If you cannot
update an affected check yet, pin Lint 32.4.1 using the toolchain below.

The lint binary is supplied by the toolchain. To pin your own version, build a deploy jar
from `com.android.tools.lint:lint` in your own `maven.install(...)` and point the toolchain
at it:
Expand Down
Loading
Loading