Enable `checkDependencies` and run lint tasks on project roots

pull/759/head
Simon Marquis 2 years ago
parent 62db986836
commit 04ddc86298

@ -56,7 +56,7 @@ jobs:
path: '**/build/test-results/test*UnitTest/**.xml'
- name: Check lint
run: ./gradlew lintProdRelease
run: ./gradlew :app:lintProdRelease :app-nia-catalog:lintRelease :lint:lint
- name: Upload lint reports (HTML)
if: always()

@ -15,8 +15,8 @@
*/
import com.android.build.api.dsl.ApplicationExtension
import com.android.build.api.dsl.LibraryExtension
import com.android.build.api.dsl.Lint
import com.android.build.gradle.LibraryExtension
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.configure
@ -43,4 +43,5 @@ class AndroidLintConventionPlugin : Plugin<Project> {
private fun Lint.configure() {
xmlReport = true
sarifReport = true
checkDependencies = true
}

Loading…
Cancel
Save