玩生产环境生成抛出警告
Play production environment generation throws warnings
每次我 运行 dist
生成生产环境时,我都会收到以下警告:
[warn] Scala version was updated by one of library dependencies:
[warn] * org.scala-lang:scala-compiler:2.11.0 -> 2.11.8
[warn] To force scalaVersion, add the following:
[warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
[warn] Run 'evicted' to see detailed eviction warnings
现在,在 build.sbt
我有以下行:
scalaVersion := "2.11.12"
我在安装 cats
库时将其从“2.11.8”更改为安装说明 Scala 版本已迁移到 2.11.12。
我应该忽略 dist
消息吗?
问题描述如下:Github sbt
问题仍未解决。
建议:
Reflecting the scalaVersion mediator, we could issue a warning like:
[warn] Some library dependencies use a newer Scala version than this project:
[warn] * org.scala-lang:scala-library:2.12.0 -> 2.12.1
[warn] We recommend you upgrade to the latest scalaVersion patch:
[warn] scalaVersion := 2.12.1 if we know that the mediator is turned on.
每次我 运行 dist
生成生产环境时,我都会收到以下警告:
[warn] Scala version was updated by one of library dependencies:
[warn] * org.scala-lang:scala-compiler:2.11.0 -> 2.11.8
[warn] To force scalaVersion, add the following:
[warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
[warn] Run 'evicted' to see detailed eviction warnings
现在,在 build.sbt
我有以下行:
scalaVersion := "2.11.12"
我在安装 cats
库时将其从“2.11.8”更改为安装说明 Scala 版本已迁移到 2.11.12。
我应该忽略 dist
消息吗?
问题描述如下:Github sbt
问题仍未解决。
建议:
Reflecting the scalaVersion mediator, we could issue a warning like:
[warn] Some library dependencies use a newer Scala version than this project:
[warn] * org.scala-lang:scala-library:2.12.0 -> 2.12.1
[warn] We recommend you upgrade to the latest scalaVersion patch:
[warn] scalaVersion := 2.12.1 if we know that the mediator is turned on.