在我的 build.sbt 文件中,我声明我想使用库中的 18.9 版:
val finagleVersion = "18.9.0"
<zip>
lazy val commonDependencies = Seq(
<zip>,
"com.twitter" %% "finagle-core" % finagleVersion,
但是当我运行 sbt 时,这似乎被忽略了
scalacOptions ++= (compilerOptions :+ "-Ylog-classpath"),
它输出编译时使用的所有jar。在那里我看到,对于包括核心在内的每个 finagle 依赖项,都使用了 19.3 版本:
C:\Users\<me>\.coursier\cache\v1\https\<me>%40<company repo>\artifactory\Central-cache\com\twitter\finagle-core_2.12\19.3.0\finagle-core_2.12-19.3.0.jar
最新版本的“偏好”来自哪里?