Enabled core lint check on CircleCI

This commit is contained in:
ByteHamster 2020-10-01 11:07:23 +02:00
parent 0c2720625c
commit 65a25fd663
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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