File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ enablePlugins(ProtobufPlugin)
66val protocLocalDir = " protoc"
77val protocBinaryPath = s " $protocLocalDir/bin/protoc "
88ProtobufConfig / protobufProtoc := protocBinaryPath
9- ProtobufConfig / version := " 3.18.0 "
9+ ProtobufConfig / version := " 3.20.1 "
1010ProtobufConfig / sourceDirectories += (ProtobufConfig / protobufExternalIncludePath).value
1111ProtobufConfig / protobufGenerate := (ProtobufConfig / protobufGenerate)
1212 .dependsOn(copyLatestCpgProto)
@@ -35,7 +35,9 @@ installProtoc := {
3535 if (! isAlreadyInstalled) {
3636 val platform = (System .getProperty(" os.name" ), System .getProperty(" os.arch" )) match {
3737 case (" Linux" , " amd64" ) => " linux-x86_64"
38+ case (" Linux" , " aarch64" ) => " linux-aarch_64"
3839 case (name, " amd64" ) if name.startsWith(" Windows" ) => " win64"
40+ case (" Mac OS X" , " aarch64" ) => " osx-aarch_64"
3941 case (name, arch) if name.toLowerCase.contains(" mac" ) && arch.contains(" 64" ) => " osx-x86_64"
4042 case (name, arch) =>
4143 throw new AssertionError (
You can’t perform that action at this time.
0 commit comments