Repository navigation
build: take the Compose Gradle plugin from Maven Central only - #918
Merged
Merged
Conversation
The Gradle Plugin Portal now serves compose-gradle-plugin 1.7.3 files whose checksums differ from the pinned ones in verification-metadata.xml, so Release readiness fails dependency verification whenever Gradle takes the module from the portal. Maven Central serves the pinned files. Exclude the module from the portal so it always resolves from Central; the plugin marker still comes from the portal. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
3 tasks done
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Related issue: N/A
Validation tasks: none
Other clients: N/A (Android Gradle build configuration only)
ci / Release readinessfails onmainand on every open pull request, and with it the requiredci / Android CIcheck. Gradle dependency verification rejectsorg.jetbrains.compose:compose-gradle-plugin:1.7.3taken from the Gradle Plugin Portal: the portal now serves a jar and.modulewhose checksums differ from the ones pinned ingradle/verification-metadata.xml. Maven Central still serves the pinned files.The two jars are the same size and unpack to identical class files, so only the zip packaging differs. The portal's
.modulelists a different size and hash for the sources jar.Approach
settings.gradle.ktsexcludescompose-gradle-pluginfrom the plugin portal, so Gradle can only take it from Maven Central and the pinned checksums keep verifying. The plugin marker (org.jetbrains.compose.gradle.plugin) still comes from the portal. No checksums change, and no new bytes are trusted.mavenCentral()already comes before the portal, so I can't fully explain why CI took the module from the portal. The likely cause is a portal-sourced entry in the restored CI Gradle cache. The exclusion rules the portal out either way.Validation
./gradlew helpreproduces the CI verification failure on the portal'scompose-gradle-pluginjar and.module.compose-gradle-pluginno longer fails verification../gradlew helppasses against the polluted cache and against the normal Gradle cache.mavenCentral()first.Release readinesspasses on this PR at 5d3f0d7 (BUILD SUCCESSFUL); it fails onmainwith the verification error. Lint, unit tests andci / Android CIpass too.Evidence
Evidence: https://evidence.siloserver.org/r/silo-android/compose-plugin-verification/
Surface and build: no visible change; local Gradle runs at 5d3f0d7.
Risks
Checklist
AI Disclosure
🤖 Generated with Claude Code