From 65a25fd6632307baf849460d131d655f954a5ef3 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Thu, 1 Oct 2020 11:07:23 +0200 Subject: [PATCH] Enabled core lint check on CircleCI --- .circleci/config.yml | 11 +++++++++-- core/build.gradle | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 910f476b8..1a97e73c5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,7 +90,14 @@ workflows: - run: name: Lint app command: ./gradlew app:lintPlayRelease + - run: + name: Lint core + command: ./gradlew core:lintPlayRelease - store_artifacts: - name: Uploading lint reports + name: Uploading app lint reports 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 diff --git a/core/build.gradle b/core/build.gradle index f55ed050c..b3c614059 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -57,7 +57,7 @@ android { disable "InvalidPeriodicWorkRequestInterval", "ObsoleteLintCustomCheck", "DefaultLocale", "UnusedAttribute", "GradleDependency", "ParcelClassLoader", "Typos", "ExtraTranslation", "ImpliedQuantity", "PluralsCandidate", "UnusedQuantity", "StringFormatCount", "TrustAllX509TrustManager", - "StaticFieldLeak", "TypographyEllipsis", "IconDensities", "IconDuplicates" + "StaticFieldLeak", "TypographyEllipsis", "IconDensities", "IconDuplicates", "CheckResult" warningsAsErrors true abortOnError true