Skip to content

Instantly share code, notes, and snippets.

💭
Working Mode is on..

Rushabh Shah rushabhshah065

💭
Working Mode is on..
Block or report user

Report or block rushabhshah065

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rushabhshah065
rushabhshah065 / build.gradle
Created Jun 12, 2019
All possible lint combination.
View build.gradle
android {
..
lintOptions {
// set to true to turn off analysis progress reporting by lint
quiet true
// if true, stop the gradle build if errors are found
abortOnError false
// if true, only report errors
ignoreWarnings true
// if true, emit full/absolute paths to files with errors (true by default)
@rushabhshah065
rushabhshah065 / build.gradle
Last active Jun 12, 2019
Add task for forcefully apply lint before build.
View build.gradle
android {
..
applicationVariants.all {
def lintTask = tasks["lint${name.capitalize()}"]
assembleProvider.get().dependsOn.add(lintTask)
}
}
You can’t perform that action at this time.