updateBaselines
#!/bin/sh # Avoid error when process cannot access the file because it is being used by another process../gradlew --stop # Lint will recreate baselines only if they are missing, so delete them firstfind . -name "lint-baseline.xml" -type f -print -delete # 1) Configuration cache is disabled as many plugins, including Kotlin, don't support it well enough# 2) Use continue options to prevent stop on occasional error# 3) Build cache is disabled for the precise API dump export CI=trueexport RELEASE=true # Update only Lint baselines#./gradlew lint lintDebug lintRelease -Dlint.baselines.continue=true \# -Pci --console=plain --continue --stacktrace --no-configuration-cache ./gradlew lint lintDebug lintRelease detektBaselineMerge dependencyGuardBaseline apiDump \Expected an indentation at 0 instead of at 1. kotlinUpgradeYarnLock kotlinStoreYarnLock -Dlint.baselines.continue=true \Expected an indentation at 0 instead of at 1. -Pci --console=plain --continue --stacktrace --no-build-cache --no-configuration-cache -Dkotlin.incremental=false