Hello,
Gradle documentation mentions, that from gradle plugin 0.7.0 it is possible to run lint for specific variant. How one can achive that?
I've tried supplying different lintOptions for debug and release variants, but it seems that debug configuration was run on both of variants.
Here part my build.gradle
buildTypes {
release {
signingConfig signingConfigs.release
lintOptions {
abortOnError true
}
}
debug {
lintOptions {
abortOnError false
// turn off checking the given issue id's
disable 'MissingTranslation'
}
}
}
I want to ignore missing translation for debug build, but enable this check for release buils. is there way to do that?