Lifty and SBT 0.12

前端 未结 1 1809
陌清茗
陌清茗 2021-01-24 04:11

I\'m new to using SBT, and I\'m trying to install and configure Lifty, however when I try to run sbt, I get the following error:

[error] (*:update) sbt.ResolveE         


        
相关标签:
1条回答
  • 2021-01-24 04:34

    You are using the wrong definition. Here is what you need;

    resolvers += Resolver.url("sbt-plugin-snapshots", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-snapshots/"))(Resolver.ivyStylePatterns)
    
    addSbtPlugin("org.lifty" % "lifty" % "1.7.4")
    

    If you want to make this available for all projects, then put in ~/.sbt/plugins/plugins.sbt. Otherwise it goes in: ProjectFolder/project/plugins.sbt

    But they don't have a Scala 2.10 or SBT 0.12 release out.. Look HERE for what is available.

    0 讨论(0)
提交回复
热议问题