Skip to content

Fix lite classes in the protobuf-java Maven release to be JDK8 compat… #20843

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 1 commit into from
Mar 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions java/core/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ java_library(
deps = [":lite_runtime_only"],
)

# Bazel users, don't depend on this target, use //java/lite.
protobuf_versioned_java_library(
name = "lite_bundle",
srcs = LITE_SRCS + [
Expand Down Expand Up @@ -268,22 +269,17 @@ java_library(
],
)

# Bazel users, don't depend on this target, use :core.
protobuf_versioned_java_library(
name = "core_bundle",
srcs = FULL_SRCS,
srcs = FULL_SRCS + LITE_SRCS,
automatic_module_name = "com.google.protobuf",
bundle_description = "Core Protocol Buffers library. Protocol Buffers " +
"are a way of encoding structured data in an " +
"efficient yet extensible format.",
bundle_name = "Protocol Buffers [Core]",
bundle_symbolic_name = "com.google.protobuf",
visibility = ["//visibility:public"],
exports = [
":lite_runtime_only",
],
deps = [
":lite_runtime_only",
],
visibility = ["//visibility:private"],
)

# Bazel users, don't depend on this target, use :core.
Expand Down
Loading