deltanovember
deltanovember

Reputation: 44091

How to install plugins in sbt 0.11.2?

I want to install Lifty.

I have created c:\sbt\plugins\build.sbt with the following single line:

addSbtPlugin("org.lifty" % "lifty" % "1.7.4")

When I execute sbt lifty in the project directory, I only get the following error:

[error] Not a valid command: lifty

How do I configure sbt for the plugin?

Upvotes: 6

Views: 4892

Answers (1)

Heiko Seeberger
Heiko Seeberger

Reputation: 3722

The global plugin definition has to go into the .sbt subdirectory of your home directory:

~/.sbt/plugins/plugin.sbt

Actually the name (plugin.sbt) does not matter as long as the suffix is .sbt.

Upvotes: 11

Related Questions