Fix Proto compilation on M1 Macs
The Maven artifact upstream doesn't have an ARM version of Proto compiler. Since updating the artifact breaks the compilation, this explicitly requests x86 protoc binary which is then run via Rosetta. Build completes successfully. Change-Id: Ia13f28a6f019ad53e88f6dd4a8788ab7ec1ebead Test: Manual
This commit is contained in:
parent
8198cb6f3f
commit
8ef29784e1
|
@ -170,7 +170,7 @@ dependencies {
|
|||
protobuf {
|
||||
// Configure the protoc executable
|
||||
protoc {
|
||||
artifact = "com.google.protobuf:protoc:${protocVersion}"
|
||||
artifact = "com.google.protobuf:protoc:${protocVersion}${PROTO_ARCH_SUFFIX}"
|
||||
}
|
||||
generateProtoTasks {
|
||||
all().each { task ->
|
||||
|
|
Loading…
Reference in New Issue