avoid lint when gradle execute check
You can skip it using adding -x lint
when you run the check
task:
./gradlew check -x lint
If you want to skip it permanently you can add this to your build.gradle
before apply plugin: 'com.android.application'
:
tasks.whenTaskAdded { task -> if (task.name.equals("lint")) { task.enabled = false }}