Conflicting cross-version suffixes (sbt, Scala-STM, Play-JSON)

后端 未结 3 845
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-12 12:13

I am using a JSON extension which relies on Mandubian\'s play-json 2.2-SNAPSHOT. Everything worked fine until now I have a project based on Scala-STM. sbt reports the following

3条回答
  •  礼貌的吻别
    2021-02-12 12:52

    You can get around this by removing scala-stm with exclude

     "dependencyGroupId" %% "dependencyArtifactId" % "dependencyVersion" exclude("org.scala-stm", "scala-stm_2.10.0")
    

    Do not forget to do sbt clean.

提交回复
热议问题