34 lines
No EOL
1,022 B
Groovy
34 lines
No EOL
1,022 B
Groovy
subprojects { module ->
|
|
plugins.withType(JavaPlugin).whenPluginAdded {
|
|
configure(module) {
|
|
apply plugin: "com.android.lint"
|
|
lintOptions {
|
|
warningsAsErrors true
|
|
abortOnError true
|
|
textReport true
|
|
ignore 'Overdraw', 'NewerVersionAvailable', 'GradleDependency'
|
|
textOutput "stdout"
|
|
}
|
|
}
|
|
}
|
|
|
|
plugins.withId("com.android.application") {
|
|
module.android.lintOptions {
|
|
warningsAsErrors true
|
|
abortOnError true
|
|
textReport true
|
|
ignore 'Overdraw', 'NewerVersionAvailable', 'GradleDependency'
|
|
textOutput "stdout"
|
|
}
|
|
}
|
|
|
|
plugins.withId("com.android.library") {
|
|
module.android.lintOptions {
|
|
warningsAsErrors true
|
|
abortOnError true
|
|
textReport true
|
|
ignore 'Overdraw', 'NewerVersionAvailable', 'GradleDependency'
|
|
textOutput "stdout"
|
|
}
|
|
}
|
|
} |