File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ ThisBuild / scalacOptions ++= Seq(
6262 // "-explain",
6363 // "-Xfatal-warnings",
6464 // "-Wconf:cat=deprecation:w,any:e",
65- " -language:implicitConversions"
65+ " -language:implicitConversions" ,
66+ " -old-syntax" ,
67+ " -no-indent"
6668)
6769
6870ThisBuild / javacOptions ++= Seq (
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