Merge pull request #6179 from ByteHamster/lint-recursively

Check Lint recursively from the :app module
This commit is contained in:
ByteHamster 2022-11-06 13:48:31 +01:00 committed by GitHub
commit 0101f1244e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 29 deletions

View File

@ -57,8 +57,8 @@ jobs:
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: Lint
run: ./gradlew lintPlayRelease lintRelease
- name: Lint :app module recursively
run: ./gradlew :app:lintPlayRelease
- name: SpotBugs
run: ./gradlew spotbugsPlayDebug spotbugsDebug 2>&1 | grep -i "spotbugs"

View File

@ -14,11 +14,6 @@ android {
buildConfigField "String", "PODCASTINDEX_API_SECRET", '"XAaAhk4^2YBsTE33vdbwbZNj82ZRLABDDqFdKe7x"'
}
}
lintOptions {
disable 'InvalidPeriodicWorkRequestInterval', 'MissingPermission',
'GradleCompatible', 'AppCompatResource', 'QueryPermissionsNeeded'
}
}
dependencies {

View File

@ -3,12 +3,6 @@ plugins {
}
apply from: "../../common.gradle"
android {
lintOptions {
disable "TrustAllX509TrustManager"
}
}
dependencies {
implementation project(':model')

View File

@ -4,15 +4,6 @@ plugins {
apply from: "../../common.gradle"
apply from: "../../playFlavor.gradle"
android {
lintOptions {
disable "InvalidPeriodicWorkRequestInterval", "ObsoleteLintCustomCheck", "DefaultLocale", "UnusedAttribute",
"ParcelClassLoader", "CheckResult", "TrustAllX509TrustManager",
"StaticFieldLeak", "IconDensities", "IconDuplicates", "MissingPermission", "AppCompatResource",
"GradleCompatible", "QueryPermissionsNeeded"
}
}
dependencies {
implementation project(":model")
implementation project(":core")

View File

@ -4,13 +4,6 @@ plugins {
apply from: "../../common.gradle"
apply from: "../../playFlavor.gradle"
android {
lintOptions {
disable "InvalidPeriodicWorkRequestInterval", "MissingPermission", "GradleCompatible",
"QueryPermissionsNeeded", "Overdraw", "SetTextI18n", "RtlHardcoded"
}
}
dependencies {
implementation project(":core")
implementation project(":event")