diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 293338c80..2bbe2f560 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,6 +60,7 @@ test_lint_pmd_checkstyle: script: # always report on lint errors to the build log - sed -i -e 's,textReport .*,textReport true,' app/build.gradle + # the tasks "lint", "test", etc don't always include everything - ./gradlew lint pmd checkstyle ktlintCheck testDebugUnitTest testFullDebugUnitTest tools scripts: diff --git a/app/build.gradle b/app/build.gradle index 0488dd37e..834dcf050 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -62,6 +62,7 @@ android { testProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro', 'src/androidTest/proguard-rules.pro' } debug { + getIsDefault().set(true) manifestPlaceholders = [ applicationLabel: APP_NAME_DEBUG ] applicationIdSuffix ".debug" resValue "string", "applicationId", fullApplicationId + applicationIdSuffix @@ -75,6 +76,7 @@ android { flavorDimensions "base" productFlavors { full { + getIsDefault().set(true) dimension "base" applicationId fullApplicationId resValue "string", "applicationId", fullApplicationId diff --git a/app/lint.xml b/app/lint.xml index ef4419ea8..68735c5b6 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -3,6 +3,12 @@ + + + + + +