我想用scalariform格式化我的sbt构建文件.在启动sbt时,是否可以在构建定义本身上运行标量?
我收到此编译错误:
[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]
Run Code Online (Sandbox Code Playgroud)
在我的项目的根目录中,我有一个build.sbt文件:
scalaVersion in ThisBuild := "2.11.6"
Run Code Online (Sandbox Code Playgroud)
我还有一个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//"
Run Code Online (Sandbox Code Playgroud)
〜/名.bst/0.13/global.sbt
scalaVersion := "2.11.6"
Run Code Online (Sandbox Code Playgroud)