Add support for Gradle Lint
Built on top of https://github.com/jraska/modules-graph-assert/pull/318 for easier libraries and plugins management.
This PR add support for running Gradle API related lint checks, which will help with supporting newer versions of Gradle and Gradle Project Isolation feature which lack of might be causing an issue with syncing, described here: https://github.com/jraska/modules-graph-assert/issues/315
From Gradle Lint project description:
An initial set of lint checks for Gradle Plugin authors to help them catch mistakes in their code. They are expected to be used on Gradle projects that apply java-gradle-plugin. It will catch uses of internal Gradle and Android Gradle Plugin APIs and eager task configuration.
For the migration phase, this PR explicitly disables lint tasks within regular CI checks and adds a new workflow that verifies if lint checks are passing.
On com.android.lint plugin
Android Lint plugin can be used within JVM projects and is not strictly related to Android. It's being used in other popular Gradle plugins, e.g:
Result from running Gradle Lint checks on this plugin so far: