Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.

Bump Protobuf and other dependencies#198

Merged
alexander-yevsyukov merged 17 commits into
masterfrom
bump-protobuf-etc
May 19, 2025
Merged

Bump Protobuf and other dependencies#198
alexander-yevsyukov merged 17 commits into
masterfrom
bump-protobuf-etc

Conversation

@alexander-yevsyukov

@alexander-yevsyukov alexander-yevsyukov commented May 17, 2025

Copy link
Copy Markdown
Contributor

This PR migrates to new major version of Protobuf (v4.31.0), newest Kotlin, Gradle, and bumps local dependencies that are already compatible with these external dependencies.

Other notable changes

  • Management of dependencies and configurations was adjusted using the BomsPlugin.

@alexander-yevsyukov alexander-yevsyukov self-assigned this May 17, 2025
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review May 19, 2025 14:50

@yevhenii-nadtochii yevhenii-nadtochii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a question.

Comment on lines +138 to +140
// See if the file is fully written by expecting the final closing brace.
val lines = buildGradleFile.readLines()
if (!lines.any { it.startsWith("}")}) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really understand how checking for } says that the file write is complete.

  1. Maybe it must be the last line to contain }? In case, we are aware about the content of this build file.
  2. Maybe just to wait a fixed time period after the file is discovered? In case, we are not aware about the potential content.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes we leave two empty lines at the end by mistake. This check is a bit more flexible.

@alexander-yevsyukov alexander-yevsyukov merged commit 3f7520f into master May 19, 2025
7 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the bump-protobuf-etc branch May 19, 2025 15:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants