Enabled core lint check on CircleCI
This commit is contained in:
parent
0c2720625c
commit
65a25fd663
|
@ -90,7 +90,14 @@ workflows:
|
||||||
- run:
|
- run:
|
||||||
name: Lint app
|
name: Lint app
|
||||||
command: ./gradlew app:lintPlayRelease
|
command: ./gradlew app:lintPlayRelease
|
||||||
|
- run:
|
||||||
|
name: Lint core
|
||||||
|
command: ./gradlew core:lintPlayRelease
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
name: Uploading lint reports
|
name: Uploading app lint reports
|
||||||
path: app/build/reports/lint-results-playRelease.html
|
path: app/build/reports/lint-results-playRelease.html
|
||||||
destination: lint-results.html
|
destination: lint-results-app.html
|
||||||
|
- store_artifacts:
|
||||||
|
name: Uploading core lint reports
|
||||||
|
path: core/build/reports/lint-results-playRelease.html
|
||||||
|
destination: lint-results-core.html
|
||||||
|
|
|
@ -57,7 +57,7 @@ android {
|
||||||
disable "InvalidPeriodicWorkRequestInterval", "ObsoleteLintCustomCheck", "DefaultLocale", "UnusedAttribute",
|
disable "InvalidPeriodicWorkRequestInterval", "ObsoleteLintCustomCheck", "DefaultLocale", "UnusedAttribute",
|
||||||
"GradleDependency", "ParcelClassLoader", "Typos", "ExtraTranslation", "ImpliedQuantity",
|
"GradleDependency", "ParcelClassLoader", "Typos", "ExtraTranslation", "ImpliedQuantity",
|
||||||
"PluralsCandidate", "UnusedQuantity", "StringFormatCount", "TrustAllX509TrustManager",
|
"PluralsCandidate", "UnusedQuantity", "StringFormatCount", "TrustAllX509TrustManager",
|
||||||
"StaticFieldLeak", "TypographyEllipsis", "IconDensities", "IconDuplicates"
|
"StaticFieldLeak", "TypographyEllipsis", "IconDensities", "IconDuplicates", "CheckResult"
|
||||||
|
|
||||||
warningsAsErrors true
|
warningsAsErrors true
|
||||||
abortOnError true
|
abortOnError true
|
||||||
|
|
Loading…
Reference in New Issue