using the vector-app module to handle recursively applying lint

This commit is contained in:
Adam Brown 2022-08-03 17:42:09 +01:00
parent 4d3e21d046
commit 2d61e71409
2 changed files with 2 additions and 9 deletions

View file

@ -49,8 +49,8 @@ jobs:
- name: Run lint
# Not always, if ktlint or detekt fail, avoid running the long lint check.
run: |
./gradlew lintGplayRelease $CI_GRADLE_ARG_PROPERTIES
./gradlew lintFdroidRelease $CI_GRADLE_ARG_PROPERTIES
./gradlew vector-app:lintGplayRelease $CI_GRADLE_ARG_PROPERTIES
./gradlew vector-app:lintFdroidRelease $CI_GRADLE_ARG_PROPERTIES
- name: Upload reports
if: always()
uses: actions/upload-artifact@v3

View file

@ -102,13 +102,6 @@ android {
}
}
lintOptions {
lintConfig file("../tools/lint/lint.xml")
checkDependencies true
abortOnError true
}
compileOptions {
sourceCompatibility versions.sourceCompat
targetCompatibility versions.targetCompat