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

View File

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