Move lint check to the check job (#1330)
* K2 lint * Move lint check to the check job * Fix CI
This commit is contained in:
1 parent
0bff011f72
commit
8ddcb003e0
3 files changed
+6
-1
No files matched your search
@@ -48,6 +48,9 @@ jobs:
|
||||
- name: Spotless Check
|
||||
run: ./gradlew spotlessCheck
|
||||
|
||||
- name: Lint Check
|
||||
run: ./gradlew lintMarshmallowRelease
|
||||
|
||||
default:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -124,8 +124,9 @@ android {
|
||||
}
|
||||
|
||||
lint {
|
||||
checkReleaseBuilds = false
|
||||
disable += setOf("MissingTranslation", "MissingQuantity")
|
||||
fatal += setOf("NewApi", "InlinedApi")
|
||||
error += setOf("InlinedApi")
|
||||
}
|
||||
|
||||
packaging {
|
||||
|
||||
@@ -22,3 +22,4 @@ org.gradle.configuration-cache=true
|
||||
android.useAndroidX=true
|
||||
android.enableAppCompileTimeRClass=true
|
||||
android.experimental.enableNewResourceShrinker.preciseShrinking=true
|
||||
android.lint.useK2Uast=true
|
||||
Reference in new issue
Block a user