File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,17 @@ lazy val proptest = (projectMatrix in file("proptest"))
271271 publish / skip := true ,
272272 Test / fork := true ,
273273 Test / baseDirectory := (LocalRootProject / baseDirectory).value,
274- Test / javaOptions ++= Seq (" -Xmx2G" , " -XX:MetaspaceSize=256M" )
274+ Test / javaOptions ++= Seq (" -Xmx2G" , " -XX:MetaspaceSize=256M" ),
275+ scalacOptions ++= {
276+ CrossVersion .partialVersion(scalaVersion.value) match {
277+ case Some ((2 , _)) =>
278+ Seq (
279+ " -Wconf:msg=[Uu]nused&origin=scala[.]collection[.]compat._:s" ,
280+ " -Wconf:cat=deprecation&msg=.*[Jj]avaGenerateEqualsAndHash.*deprecated.*:s"
281+ )
282+ case _ => Seq .empty // Scala 2.12 or other (e.g. pre-2.13)
283+ }
284+ }
275285 )
276286
277287lazy val lenses = (projectMatrix in file(" lenses" ))
You can’t perform that action at this time.
0 commit comments