【发布时间】:2020-01-25 16:25:42
【问题描述】:
我想在我的 Mill-项目中运行 evicted。
使用 SBT 可以在sbt-console 中完成,使用:
sbt>evicted
这会返回一个版本冲突警告列表:
[warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[warn] * com.typesafe:ssl-config-core_2.13:0.3.8 is selected over 0.4.0
[warn] +- com.typesafe.play:play-ws-standalone_2.13:2.0.6 (depends on 0.3.8)
[warn] +- com.typesafe.play:play_2.13:2.7.3 () (depends on 0.3.8)
[warn] +- com.typesafe.akka:akka-stream_2.13:2.5.23 () (depends on 0.4.0)
....
Mill 是如何做到的?
我尝试了mill-console,没有命令 (mill resolve _),而且 Google 也帮不上忙。
【问题讨论】:
-
我认为是
mill resolve __为您提供了命令列表(双下划线)。如果它没有列出被驱逐的人(或类似的东西),我猜它是不受支持的 -
您对
evicted命令有什么期望?你想达到什么目标? -
@TobiasRoeser 我添加了 sbt 给你的驱逐结果。
-
要运行控制台,您需要在具体的 scala 模块上运行控制台:
mill -i myModule.console。另请参阅mill inspect myModule.console的输出。