@@ -33,6 +33,7 @@ ThisBuild / homepage := Some(
33
33
val scala211 = " 2.11.12"
34
34
val scala212 = " 2.12.13"
35
35
val scala213 = " 2.13.5"
36
+ val scala3 = " 3.0.0-RC1"
36
37
37
38
scalaVersion := scala213
38
39
@@ -52,6 +53,7 @@ lazy val commonSettings = Seq(
52
53
case Some ((2 , 11 )) => ScalacOptions .scalacOptions211
53
54
case Some ((2 , 12 )) => ScalacOptions .scalacOptions212
54
55
case Some ((2 , 13 )) => ScalacOptions .scalacOptions213
56
+ case Some ((3 , 0 )) => ScalacOptions .scalacOptions3
55
57
case _ => Seq ()
56
58
}
57
59
}
@@ -75,10 +77,12 @@ lazy val cucumberScala = (projectMatrix in file("cucumber-scala"))
75
77
libraryDependencies ++= Seq (
76
78
" io.cucumber" % " cucumber-core" % cucumberVersion,
77
79
// Users have to provide it (for JacksonDefaultDataTableTransformer)
78
- " com.fasterxml.jackson.module" %% " jackson-module-scala" % jacksonVersion % Provided ,
80
+ (" com.fasterxml.jackson.module" %% " jackson-module-scala" % jacksonVersion % Provided )
81
+ .withDottyCompat(scalaVersion.value),
79
82
" junit" % " junit" % junitVersion % Test ,
80
83
" io.cucumber" % " cucumber-junit" % cucumberVersion % Test ,
81
- " org.mockito" %% " mockito-scala" % mockitoScalaVersion % Test
84
+ (" org.mockito" %% " mockito-scala" % mockitoScalaVersion % Test )
85
+ .withDottyCompat(scalaVersion.value)
82
86
),
83
87
libraryDependencies ++= {
84
88
CrossVersion .partialVersion(scalaVersion.value) match {
@@ -102,7 +106,7 @@ lazy val cucumberScala = (projectMatrix in file("cucumber-scala"))
102
106
Seq (file)
103
107
}.taskValue
104
108
)
105
- .jvmPlatform(scalaVersions = Seq (scala213, scala212, scala211))
109
+ .jvmPlatform(scalaVersions = Seq (scala3, scala213, scala212, scala211))
106
110
107
111
// Examples project
108
112
lazy val examples = (projectMatrix in file(" examples" ))
@@ -116,7 +120,7 @@ lazy val examples = (projectMatrix in file("examples"))
116
120
publishArtifact := false
117
121
)
118
122
.dependsOn(cucumberScala % Test )
119
- .jvmPlatform(scalaVersions = Seq (scala213, scala212))
123
+ .jvmPlatform(scalaVersions = Seq (scala3, scala213, scala212))
120
124
121
125
// Version policy check
122
126
0 commit comments