Skip to content

make protoc plugin compatiable for M1 chip & fix some tc#214

Open
stym06 wants to merge 1 commit intoraystack:mainfrom
stym06:proto-osx
Open

make protoc plugin compatiable for M1 chip & fix some tc#214
stym06 wants to merge 1 commit intoraystack:mainfrom
stym06:proto-osx

Conversation

@stym06
Copy link

@stym06 stym06 commented Feb 27, 2023

This fixes the Gradle build failures when running on M1 chipset

I added a condition to check for OS type and downloads the jar for osx-x86_64 as that still works for M1. If we don't do this, Gradle tries to download the jar osx-aarch_64 which is not available for distribution.
Ref: grpc/grpc-java#7690

✔️ Checklist

  • Updated build.gradle for protoc and protoc-gen-grpc-java correct versions
  • Fixed dependency conflict for snappy-java
  • Fixed test cases on src/test/java/io/odpf/firehose/serializer/MessageToJsonTest.java that missed a comma in the assertion while comparing timestamp. (Mar 20, 2017, 10:54:00 AM) Missed a comma after 2017
  • Updated gRPC test files mentioned port from 5000 to 5050 because macOS 13 has port 5000 used by Control Center (link)

@ravisuhag ravisuhag requested a review from lavkesh March 5, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant