未解决的依赖 SBT,标量形式
Unresolved dependency SBT, scalariform
我收到此编译错误:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbt#sbt-scalariform;1.3.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.typesafe.sbt:sbt-scalariform:1.3.0 (scalaVersion=2.11, sbtVersion=0.13)
[warn]
在我项目的根目录中,我有一个 build.sbt 文件:
scalaVersion in ThisBuild := "2.11.6"
我还有一个 core/build.sbt 文件,其中包含多个解析器、libraryDependencies 和排除项。
project/plugins.sbt:
addSbtPlugin(...)
resolvers += "Typesafe Public Repo" at "http://repo.typesafe.com/typesafe/releases"
resolvers += "JBoss Repository" at "http://repository.jboss.org/nexus/content/groups/public//"
~/.sbt/0.13/global.sbt
scalaVersion := "2.11.6"
您需要从 ~/.sbt/0.13/global.sbt
中删除 scalaVersion := "2.11.6"
。
在 sbt 0.13 中,sbt 及其插件生态系统当前使用 Scala 2.10。
sbt-scalariform改变了groupId/organization
1.3.0
- "com.typesafe.sbt" % "sbt-scalariform" % "1.3.0"
- 仅适用于 scala 2.9.1、2.9.2 和 2.10
- sbt 0.13
- 如下所示:https://dl.bintray.com/sbt/sbt-plugin-releases/com.typesafe.sbt/sbt-scalariform/scala_2.10/sbt_0.13/1.3.0/
1.4.0
, 1.5.0
, ..., 1.8.2
- "org.scalariform" % "sbt-scalariform" & "1.8.2"
我收到此编译错误:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbt#sbt-scalariform;1.3.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.typesafe.sbt:sbt-scalariform:1.3.0 (scalaVersion=2.11, sbtVersion=0.13)
[warn]
在我项目的根目录中,我有一个 build.sbt 文件:
scalaVersion in ThisBuild := "2.11.6"
我还有一个 core/build.sbt 文件,其中包含多个解析器、libraryDependencies 和排除项。
project/plugins.sbt:
addSbtPlugin(...)
resolvers += "Typesafe Public Repo" at "http://repo.typesafe.com/typesafe/releases"
resolvers += "JBoss Repository" at "http://repository.jboss.org/nexus/content/groups/public//"
~/.sbt/0.13/global.sbt
scalaVersion := "2.11.6"
您需要从 ~/.sbt/0.13/global.sbt
中删除 scalaVersion := "2.11.6"
。
在 sbt 0.13 中,sbt 及其插件生态系统当前使用 Scala 2.10。
sbt-scalariform改变了groupId/organization
1.3.0
-"com.typesafe.sbt" % "sbt-scalariform" % "1.3.0"
- 仅适用于 scala 2.9.1、2.9.2 和 2.10
- sbt 0.13
- 如下所示:https://dl.bintray.com/sbt/sbt-plugin-releases/com.typesafe.sbt/sbt-scalariform/scala_2.10/sbt_0.13/1.3.0/
1.4.0
,1.5.0
, ...,1.8.2
-"org.scalariform" % "sbt-scalariform" & "1.8.2"