com-lihaoyi / cask

Cask: a Scala HTTP micro-framework. Cask makes it easy to set up a website, backend server, or REST API using Scala
https://com-lihaoyi.github.io/cask/
Other
534 stars 57 forks source link

SBT version conflict error when cask and os-lib are used together #75

Closed nemoo closed 1 year ago

nemoo commented 1 year ago

SBT version is 1.8.0.

Here is build.sbt:

lazy val root = project
  .in(file("."))
  .settings(
    scalaVersion := "3.2.1",
    libraryDependencies ++= Seq(
      "com.lihaoyi"   %% "cask"     % "0.8.3",
      "com.lihaoyi"   %% "os-lib"   % "0.9.0",
    )
  )

The error:

[error] (update) found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error]
[error]         * com.lihaoyi:geny_3:1.0.0 (early-semver) is selected over {0.6.10, 0.7.1}
[error]             +- com.lihaoyi:os-lib_3:0.9.0                         (depends on 1.0.0)
[error]             +- com.lihaoyi:upickle-core_3:1.6.0                   (depends on 0.7.1)
[error]             +- com.lihaoyi:cask-util_3:0.8.3                      (depends on 0.6.10)
[error]
[error]
[error] this can be overridden using libraryDependencySchemes or evictionErrorLevel