avoid lint when gradle execute check

Jose M Lechon picture Jose M Lechon · Jan 15, 2014 · Viewed 31.3k times · Source

could someone tell me a way to avoid executing "lint" each time I run in gradle check?

I've defined in build.gradle

lintOptions { 

    quiet true 

}

However, it keeps doing this task. The problem is that it takes ages each time I have to do a check.

Answer

kukido picture kukido · Jan 16, 2014
gradle build -x lint 

Source: Gradle User Guide : Excluding Tasks