문제

Problem:

When I execute gradle lint it lint both product flavors. One is not ready, so it fails always (not all the strings are there).

What i want:

I really want some option to say lint only this product flavor

도움이 되었습니까?

해결책

You can run:

gradle lintFlavorType

Also, in your build.gradle you can add this option

android {
    lintOptions {
        // if true, stop the gradle build if errors are found
        abortOnError false
    }
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top