mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-05 21:07:49 +01:00
Fix updateVerificationMetadata task to account for IDE tooling.
This commit is contained in:
committed by
Michelle Tang
parent
9e2be2796b
commit
c7ac7087f7
@@ -63,6 +63,9 @@ constructor(
|
||||
// nested builds, which resolve plugin dependencies (e.g. junit BOMs) that no configuration walk or qa build
|
||||
// ever sees. Forcing a refresh re-downloads them through the verifier so their checksums get written.
|
||||
runGradle("--write-verification-metadata", "sha256", ":build-logic:plugins:generatePrecompiledScriptPluginAccessors", "--rerun-tasks", "--no-build-cache", "--refresh-dependencies")
|
||||
// The IDE resolves the bundled Groovy module graph (via localGroovy) during sync's model-building phase, which
|
||||
// no task graph reaches, so resolve it explicitly to capture those checksums.
|
||||
runGradle("--write-verification-metadata", "sha256", ":build-logic:plugins:syncGroovyVerification", "--rerun-tasks", "--refresh-dependencies")
|
||||
runGradle("--write-verification-metadata", "sha256", "syncCrossPlatformVerification", "--rerun-tasks")
|
||||
} catch (failure: Throwable) {
|
||||
file.writeBytes(original)
|
||||
|
||||
Reference in New Issue
Block a user