Skip to content

Commit

Permalink
Fix protobuf relocation of com.google.rpc classes (#507)
Browse files Browse the repository at this point in the history
`com.google.api` and `com.google.rpc` from protobuf were unintentionally not relocated in the `cel-standalone` artifact
  • Loading branch information
XN137 authored Jan 10, 2024
1 parent d70da47 commit 3772614
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions standalone/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ dependencies {
val shadowJar = tasks.named<ShadowJar>("shadowJar")

shadowJar.configure {
relocate("com.google.protobuf", "org.projectnessie.cel.relocated.protobuf")
relocate("org.agrona", "org.projectnessie.cel.relocated.agrona")
// relocate com.google.api/protobuf/rpc classes
relocate("com.google", "org.projectnessie.cel.relocated.com.google")
relocate("org.agrona", "org.projectnessie.cel.relocated.org.agrona")
manifest {
attributes["Specification-Title"] = "Common-Expression-Language - dependency-free CEL"
attributes["Specification-Version"] = libs.protobuf.java.get().version
Expand Down

0 comments on commit 3772614

Please sign in to comment.