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.
This PR updates closure-template to use the bzlmod for dependency management.
Details:
MODULE.bazeladded. Direct bazel_deps are at latest versions.WORKSPACEfile is empty, can be deleted.
.bazelversion: updated to8.4.1.17.@mavento@maven_closure_templates. Because closure-templates can be used as a bzlmoddependency, the
@mavennamespace is problematic becuase entries frommultiple bzlmod workspaces can contribute to it. Therefore, dependencies for
this repo have been moved into a separate namespace.
java/src/com/google/template/soy/data/ProtoFieldInterpreter.java: smallchange to adjust for the now-deleted java package
com.google.protobuf.Descriptors.FileDescriptor.Syntax.third_party/google/safe-html-types: the maven artifactcom.google.common.html.types:types:1.0.8is the "latest" version availablevia maven central. It was published Nov 09, 2017 and embeds generated code
that is no longer compatible with more recent versions of protobuf. The
source repository https://github.com/google/safe-html-types was archived Dec 2023.
As a result, the state of the files in last commit of
google/safe-html-typeshas been vendored into this repo and thejava_proto_librarybuilds from source (seethird_party/google/safe-html-types/proto/webutil/html/types/BUILD.bazel). Amaven.overrideis used to map the coordinatecom.google.common.html.types:typesto//third_party/google/safe-html-types/java/com/google/common/html/types.