Make sonar build faster and happier
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 10m23s
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 10m23s
This commit is contained in:
@@ -39,10 +39,14 @@ sonar {
|
||||
|
||||
tasks.withType<SonarTask>().configureEach {
|
||||
dependsOn(
|
||||
subprojects.flatMap { it.tasks.withType<AndroidLintTask>() }
|
||||
subprojects
|
||||
.flatMap { it.tasks.withType<AndroidLintTask>() }
|
||||
.filter { it.variantName != "release" }
|
||||
)
|
||||
dependsOn(
|
||||
subprojects.flatMap { it.tasks.withType<JacocoReportTask>() }
|
||||
subprojects
|
||||
.flatMap { it.tasks.withType<JacocoReportTask>() }
|
||||
.filter { it.variantName != "release" }
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user