Update scala-java8-compat (#25142)
* Update scala-java8-compat * Update scala-java8-compat only for scala 2.13 As it looks like 0.8.0 is not bincompat with 0.9.0
This commit is contained in:
parent
8286ecffc5
commit
49322afae0
1 changed files with 2 additions and 1 deletions
|
|
@ -32,7 +32,8 @@ object Dependencies {
|
|||
scalaTestVersion := "3.0.4",
|
||||
java8CompatVersion := {
|
||||
CrossVersion.partialVersion(scalaVersion.value) match {
|
||||
case Some((2, n)) if n >= 12 ⇒ "0.8.0"
|
||||
case Some((2, n)) if n >= 13 ⇒ "0.9.0"
|
||||
case Some((2, n)) if n == 12 ⇒ "0.8.0"
|
||||
case _ ⇒ "0.7.0"
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue