Skip to content

Commit 3772614

Browse files
authored
Fix protobuf relocation of com.google.rpc classes (#507)
`com.google.api` and `com.google.rpc` from protobuf were unintentionally not relocated in the `cel-standalone` artifact
1 parent d70da47 commit 3772614

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

standalone/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ dependencies {
3636
val shadowJar = tasks.named<ShadowJar>("shadowJar")
3737

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

0 commit comments

Comments
 (0)