Check Lint recursively from the :app module
instead of checking every module individually. This avoids having to re-state all disabled Lint checks in all parent modules.
This commit is contained in:
parent
e4d4c69519
commit
d61745be86
|
@ -57,8 +57,8 @@ jobs:
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
~/.gradle/wrapper
|
~/.gradle/wrapper
|
||||||
key: gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
key: gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
||||||
- name: Lint
|
- name: Lint :app module recursively
|
||||||
run: ./gradlew lintPlayRelease lintRelease
|
run: ./gradlew :app:lintPlayRelease
|
||||||
- name: SpotBugs
|
- name: SpotBugs
|
||||||
run: ./gradlew spotbugsPlayDebug spotbugsDebug 2>&1 | grep -i "spotbugs"
|
run: ./gradlew spotbugsPlayDebug spotbugsDebug 2>&1 | grep -i "spotbugs"
|
||||||
|
|
||||||
|
|
|
@ -14,11 +14,6 @@ android {
|
||||||
buildConfigField "String", "PODCASTINDEX_API_SECRET", '"XAaAhk4^2YBsTE33vdbwbZNj82ZRLABDDqFdKe7x"'
|
buildConfigField "String", "PODCASTINDEX_API_SECRET", '"XAaAhk4^2YBsTE33vdbwbZNj82ZRLABDDqFdKe7x"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
|
||||||
disable 'InvalidPeriodicWorkRequestInterval', 'MissingPermission',
|
|
||||||
'GradleCompatible', 'AppCompatResource', 'QueryPermissionsNeeded'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -3,12 +3,6 @@ plugins {
|
||||||
}
|
}
|
||||||
apply from: "../../common.gradle"
|
apply from: "../../common.gradle"
|
||||||
|
|
||||||
android {
|
|
||||||
lintOptions {
|
|
||||||
disable "TrustAllX509TrustManager"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':model')
|
implementation project(':model')
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,6 @@ plugins {
|
||||||
apply from: "../../common.gradle"
|
apply from: "../../common.gradle"
|
||||||
apply from: "../../playFlavor.gradle"
|
apply from: "../../playFlavor.gradle"
|
||||||
|
|
||||||
android {
|
|
||||||
lintOptions {
|
|
||||||
disable "InvalidPeriodicWorkRequestInterval", "ObsoleteLintCustomCheck", "DefaultLocale", "UnusedAttribute",
|
|
||||||
"ParcelClassLoader", "CheckResult", "TrustAllX509TrustManager",
|
|
||||||
"StaticFieldLeak", "IconDensities", "IconDuplicates", "MissingPermission", "AppCompatResource",
|
|
||||||
"GradleCompatible", "QueryPermissionsNeeded"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(":model")
|
implementation project(":model")
|
||||||
implementation project(":core")
|
implementation project(":core")
|
||||||
|
|
|
@ -4,13 +4,6 @@ plugins {
|
||||||
apply from: "../../common.gradle"
|
apply from: "../../common.gradle"
|
||||||
apply from: "../../playFlavor.gradle"
|
apply from: "../../playFlavor.gradle"
|
||||||
|
|
||||||
android {
|
|
||||||
lintOptions {
|
|
||||||
disable "InvalidPeriodicWorkRequestInterval", "MissingPermission", "GradleCompatible",
|
|
||||||
"QueryPermissionsNeeded", "Overdraw", "SetTextI18n", "RtlHardcoded"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(":core")
|
implementation project(":core")
|
||||||
implementation project(":event")
|
implementation project(":event")
|
||||||
|
|
Loading…
Reference in New Issue