Open
Description
Describe the bug
build.sbt
scalaVersion := "2.13.13"
libraryDependencies += "org.scalatest" %% "scalatest-freespec" % "3.2.18" % Test
coverageEnabled := true
project/build.properties
sbt.version=1.10.0
project/plugins.sbt
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.12")
src/test/scala/Test1.scala
package example
class Test1 extends org.scalatest.freespec.AnyFreeSpec
sbt test
result
[error] java.lang.RuntimeException: expected `scoverage-bug/scalaVersion` to be "2.13.14" or later,
[error] but found "2.13.13"; upgrade scalaVersion to fix the build.
[error]
[error] to support backwards-only binary compatibility (SIP-51),
[error] the Scala 2.13 compiler cannot be older than scala-library on the
[error] dependency classpath.
[error] see `scoverage-bug/evicted` to know why scala-library 2.13.14 is getting pulled in.
note
- https://github.com/sbt/sbt/releases/tag/v1.10.0
- https://docs.scala-lang.org/sips/drop-stdlib-forwards-bin-compat.html
Expected behavior
No response
What build tool are you using?
sbt
Version of scoverage
v2.1.1
Metadata
Metadata
Assignees
Labels
No labels