@@ -315,7 +315,7 @@ object projects:
315315 project = " shapeless-3" ,
316316 sbtTestCommand = " testJVM; testJS" ,
317317 sbtDocCommand = forceDoc(" typeable" , " deriving" ),
318- scalacOptions = " -source" :: " 3.3" :: SbtCommunityProject .scalacOptions.filter(_ != " -Wsafe-init" ), // due to -Xfatal-warnings
318+ scalacOptions = " -source" :: " 3.3" :: SbtCommunityProject .scalacOptions.filter(_ != " -Wsafe-init" ), // due to -Werror
319319 )
320320
321321 lazy val xmlInterpolator = SbtCommunityProject (
@@ -484,7 +484,7 @@ object projects:
484484 project = " cats" ,
485485 sbtTestCommand = " set Global/scalaJSStage := FastOptStage;rootJVM/test;rootJS/test" ,
486486 sbtPublishCommand = " rootJVM/publishLocal;rootJS/publishLocal" ,
487- scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Wsafe-init" ) // disable -Ysafe-init or -Wsafe-init, due to -Xfatal-warning
487+ scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Wsafe-init" ) // turn off -Wsafe-init due to -Werror
488488 )
489489
490490 lazy val catsMtl = SbtCommunityProject (
@@ -583,10 +583,10 @@ object projects:
583583 extraSbtArgs = List (s " -Dakka.build.scalaVersion= $compilerVersion" ),
584584 sbtTestCommand = List (
585585 " set every targetSystemJdk := true" ,
586- // selectively disable -Xfatal-warnings due to deprecations
587- """ set actor/Compile/scalacOptions - = "-Xfatal-warnings """" ,
588- """ set testkit/Compile/scalacOptions - = "-Xfatal-warnings """" ,
589- """ set actorTests/Compile/scalacOptions - = "-Xfatal-warnings """" ,
586+ // selectively turn off -Werror due to deprecations
587+ """ set actor/Compile/scalacOptions + = "-Werror:false """" ,
588+ """ set testkit/Compile/scalacOptions + = "-Werror:false """" ,
589+ """ set actorTests/Compile/scalacOptions + = "-Werror:false """" ,
590590 " akka-actor-tests/Test/compile" ,
591591 ).mkString(" ; " ),
592592 scalacOptions = SbtCommunityProject .scalacOptions.filter(_ != " -Wsafe-init" ),
0 commit comments