Skip to content

Support older and newer Protobuf Gradle Plugins at the same time #131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 29, 2025

Conversation

alexander-yevsyukov
Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov commented Apr 29, 2025

This PR provides compatibility mode for working with Protobuf Gradle Plugins before 0.9.5 and after.

The run-time version of Protobuf library was rolled back from 4.30.2 to 3.25.7 — which is the last version of the 3.x family — so that we can migrate tools that depend on older API based on GeneratedMessageV3 type.

Other notable changes

  • The SpinePublishing was fixed to ensure publication to mavenLocal() between consequent builds. It was discovered that the singleton cache we have for PublicationHandlers survives between consequent builds, if the content of buildSrc was not modified.

@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review April 29, 2025 18:19
@alexander-yevsyukov alexander-yevsyukov merged commit 194cc31 into master Apr 29, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this to ✅ Done in v2.0 Apr 29, 2025
@alexander-yevsyukov alexander-yevsyukov deleted the compat-mode branch April 29, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants