mirror of
https://github.com/accelforce/Yuito
synced 2025-01-03 03:20:43 +01:00
Remove newLintBaseline task since we only want errors in the baseline
This commit is contained in:
parent
26d963dda9
commit
1e553ebd8a
@ -202,18 +202,3 @@ tasks.withType(org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask) {
|
|||||||
"--add-opens", "jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
|
"--add-opens", "jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
|
||||||
"--add-opens", "jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED"])
|
"--add-opens", "jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED"])
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register("newLintBaseline") {
|
|
||||||
description 'Deletes and then recreates the lint baseline'
|
|
||||||
|
|
||||||
// This task should always run, irrespective of caching
|
|
||||||
notCompatibleWithConfigurationCache("Is always out of date")
|
|
||||||
outputs.upToDateWhen { false }
|
|
||||||
|
|
||||||
doLast {
|
|
||||||
delete android.lint.baseline.path
|
|
||||||
}
|
|
||||||
|
|
||||||
// Regenerate the lint baseline
|
|
||||||
it.finalizedBy tasks.named("lintBlueDebug")
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user