Skip to content

Commit

Permalink
only available in 3.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsimpson committed Aug 1, 2024
1 parent 71e0ec3 commit a9474c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ val mm = mock[JavaClassExtended] // should be used instead

3.
* Mockito makes use of Symbol.newClass which is marked as experimental; to avoid having to add the `@experimental`
attribute everywhere in tests, you can add the `Test / scalacOptions += "-experimental"` to your build.
attribute everywhere in tests, you can add the `Test / scalacOptions += "-experimental"` to your build. Note
that this option is only available in scala 3.4.0+


## Documentation
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lazy val scalatest = Def.setting("org.scalatest" %%% "scalatest" % "3.2.19")
lazy val specs2 = Def.setting("org.specs2" %%% "specs2-core" % "4.20.2")

val commonSettings = Defaults.coreDefaultSettings ++ Seq(
scalaVersion := "3.3.3",
scalaVersion := "3.4.2",
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature", "-release:8")
)

Expand Down

0 comments on commit a9474c4

Please sign in to comment.