Reputation: 10307
I am compiling an Android project with gradle and want to run -x lint
with every build.
is it possible to use settings.gradle to automatically add this?
Upvotes: 1
Views: 215
Reputation: 123910
You could add the following to the root project's build.gradle
:
gradle.startParameter.excludedTaskNames << "lint"
Upvotes: 2