From 80a6d08bc7653e46b708c4839dca9f793176dcdd Mon Sep 17 00:00:00 2001 From: Edbert Chan Date: Wed, 10 Apr 2024 18:50:14 -0700 Subject: [PATCH] Bug with Android Manifest being added from dependent libraries (#28) --- rules/impl.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/impl.bzl b/rules/impl.bzl index 7c26601..23d2a94 100644 --- a/rules/impl.bzl +++ b/rules/impl.bzl @@ -107,6 +107,8 @@ def _run_android_lint( for check in enable_checks: args.add("--enable-check", check) for dep in _utils.list_or_depset_to_list(deps): + if not dep.path.endswith(".aar") and not dep.path.endswith(".jar"): + continue args.add("--classpath", dep) inputs.append(dep) if android_lint_enable_check_dependencies: