Skip to content

Commit a44c81d

Browse files
dmitriplotnikovcopybara-github
authored andcommitted
Exclude protobuf-javalite from the public artifacts for CEL.
This is done to avoid a dependency on both protobuf-java and protobuf-lite, which leads to a classpath conflict PiperOrigin-RevId: 789943418
1 parent 86ad379 commit a44c81d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

publish/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ JAVA_DOC_OPTIONS = [
104104

105105
pom_file(
106106
name = "cel_pom",
107+
excluded_artifacts = [
108+
"com.google.protobuf:protobuf-javalite",
109+
],
107110
substitutions = {
108111
"CEL_VERSION": CEL_VERSION,
109112
"CEL_ARTIFACT_ID": "cel",
@@ -146,6 +149,9 @@ java_export(
146149

147150
pom_file(
148151
name = "cel_runtime_pom",
152+
excluded_artifacts = [
153+
"com.google.protobuf:protobuf-javalite",
154+
],
149155
substitutions = {
150156
"CEL_VERSION": CEL_VERSION,
151157
"CEL_ARTIFACT_ID": "runtime",

0 commit comments

Comments
 (0)