Gradle script does not run on M1 chipsets
Description
Mentioned version of protoc does not have aarch64 files, that fails the gradle build
To Reproduce
./gradlew clean dagger-common:generateTestProto
Expected behavior Proto file generation
Behavior
Execution failed for task ':dagger-common:generateTestProto'.
> Could not resolve all files for configuration ':dagger-common:protobufToolsLocator_protoc'.
> Could not find protoc-3.1.0-osx-aarch_64.exe (com.google.protobuf:protoc:3.1.0).
Searched in the following locations:
https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.1.0/protoc-3.1.0-osx-aarch_64.exe
Additional context
hey @stym06 , i have raised a pr for this #200 , can you pull the branch fix-protoc-arm64 and rerun the build to test if its working?
Still fails with another dependency issue:
Execution failed for task ':dagger-common:generateTestProto'.
> Could not resolve all files for configuration ':dagger-common:protobufToolsLocator_grpc'.
> Could not find protoc-gen-grpc-java-1.19.0-osx-aarch_64.exe (io.grpc:protoc-gen-grpc-java:1.19.0).
Searched in the following locations:
https://repo.maven.apache.org/maven2/io/grpc/protoc-gen-grpc-java/1.19.0/protoc-gen-grpc-java-1.19.0-osx-aarch_64.exe
Can we have a profile for aarm64 arch builds? I think hotfixes might break in future.
@stym06 feel free to raise a pr to fix this issue. Let us know if any help is needed. Since we cannot test this on our system, it might be difficult to fix this ourselves, since we do not know which all dependencies can fail for M1 chipsets.