Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 765 Bytes

android_lint.md

File metadata and controls

9 lines (7 loc) · 765 Bytes

Android Lint

Android Lint is a linter and static analysis tool for Android projects which can detect bugs and potential issues in code, resources and configuration files.

Be aware that Lint just supports Kotlin since version 3.1.0 of the Android Gradle Plugin.

Configure Android Lint

Lint is configured through the lintOptions closure. It supports all official properties except abortOnError, htmlReport and xmlReport. These are overridden so that Lint won't break the build on its own and always generates reports.