Skip to content
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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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