Source code
Revision control
Copy as Markdown
Other Tools
android {
buildTypes {
release {
minifyEnabled = false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileSdk config.compileSdkVersion
defaultConfig {
minSdk config.minSdkVersion
targetSdk config.targetSdkVersion
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
lint {
warningsAsErrors = true
abortOnError = false
// With our L10N process its totally possible to have missing or (temporarily) extra translations.
disable 'MissingTranslation',
'ExtraTranslation',
// We do not want to enforce this as a generic rule for all languages (see #6117, #6056, #6118)
'TypographyEllipsis',
'UnspecifiedImmutableFlag',
'UnusedResources',
// "We do not impose rules on locales"
'TypographyDashes'
sarifReport = true
sarifOutput = file("../../../build/reports/lint/lint-report-${project.name}.sarif.json")
}
}