File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ lazy val runtime = (projectMatrix in file("scalapb-runtime"))
8181 ),
8282 scalacOptions ++= {
8383 CrossVersion .partialVersion(scalaVersion.value) match {
84- case Some ((v, n)) if v == 2 && n >= 13 | v == 3 =>
84+ case Some ((2 , _)) =>
8585 Seq (
8686 " -Wconf:msg=[Uu]nused&origin=scala[.]collection[.]compat._:s" ,
8787 " -Wconf:cat=deprecation&msg=.*[Jj]avaGenerateEqualsAndHash.*deprecated.*:s"
@@ -319,7 +319,7 @@ val e2eCommonSettings = commonSettings ++ Seq(
319319 Compile / PB .recompile := true , // always regenerate protos, not cache
320320 scalacOptions ++= {
321321 CrossVersion .partialVersion(scalaVersion.value) match {
322- case Some ((v, n)) if v == 2 && n >= 13 | v == 3 =>
322+ case Some ((2 , _)) =>
323323 Seq (
324324 " -Wconf:msg=[uU]nused&origin=com.thesamet.pb.MisplacedMapper.weatherMapper:s" ,
325325 " -Wconf:cat=deprecation&src=.*custom_options.*:s" ,
You can’t perform that action at this time.
0 commit comments