-
Notifications
You must be signed in to change notification settings - Fork 89
Automatic lint execution
Martin Chalupa edited this page Apr 2, 2018
·
1 revision
Lint is automatically executed at the end of each build. The exception are those tasks: help
, tasks
, dependencies
, dependencyInsight
, components
, model
, projects
, properties
, wrapper
.
You have an option to disable automatic execution. You can do that through the plugin extension or command line project parameter.
gradleLint {
alwaysRun = false
}
./gradlew build -PgradleLint.alwaysRun=false
You can add more task to the list of task for which you want to skip automation lint execution. You can achieve that through the plugin extension.
gradleLint {
skipForTask('check')
skipForTask('myTask')
}