The current project that we are working on will be migrated to BAZEL after some time. Hence, we won't be able to use the gradle build system. Now, In order to use lint without gradle, I am planning to run it by using
lint from the android SDK tools.
I wanted to know how to add a custom lint rule in this scenario. Because after the migration of the build system, we won't be able to use the build.gradle files anymore. So how can I make the lint tool present in the android sdk tools to use our custom lint rules, because earlier we use to specify that in the project build.gradle files, but now it won't be possible anymore.
Please let me know how shall I approach this, or if there's any workaround for this situation.