File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ See also the [CHANGELOG](https://github.com/cucumber/cucumber-jvm/blob/master/CH
1313
1414### Changed
1515
16+ - [ Scala] Upgrade Scala version to 2.12.16, 2.13.8 and 3.1.3
17+
1618### Deprecated
1719
1820### Removed
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ ThisBuild / homepage := Some(
3030
3131// Scala versions
3232
33- val scala212 = " 2.12.15 "
34- val scala213 = " 2.13.6 "
35- val scala3 = " 3.0.2 "
33+ val scala212 = " 2.12.16 "
34+ val scala213 = " 2.13.8 "
35+ val scala3 = " 3.1.3 "
3636
3737scalaVersion := scala213
3838
@@ -51,7 +51,7 @@ lazy val commonSettings = Seq(
5151 CrossVersion .partialVersion(scalaVersion.value) match {
5252 case Some ((2 , 12 )) => ScalacOptions .scalacOptions212
5353 case Some ((2 , 13 )) => ScalacOptions .scalacOptions213
54- case Some ((3 , 0 )) => ScalacOptions .scalacOptions3
54+ case Some ((3 , _ )) => ScalacOptions .scalacOptions3
5555 case _ => Seq ()
5656 }
5757 }
Original file line number Diff line number Diff line change 11object ScalacOptions {
22
33 val scalacOptions3 = Seq (
4- " -source:3.0" ,
54 " -deprecation" , // Emit warning and location for usages of deprecated APIs.
65 " -explain" , // Explain type errors in more detail.
76// "-explaintypes", // Explain type errors in more detail.
You can’t perform that action at this time.
0 commit comments