using the vector-app module to handle recursively applying lint
This commit is contained in:
parent
4d3e21d046
commit
2d61e71409
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue