6

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?

Jacek Laskowski
  • 72,696
  • 27
  • 242
  • 420
deltanovember
  • 42,611
  • 64
  • 162
  • 244

1 Answers1

11

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.

Heiko Seeberger
  • 3,702
  • 21
  • 20