SBT Plugin

Projectile provides a (completely optional) sbt plugin

To enable it, add the following to your plugins.sbt:

addSbtPlugin("com.kyleu" % "projectile-sbt" % "1.8.2")

Then add it to your project’s build definition:

enablePlugins(SbtProjectile)

Now, projectile will run each time you compile your project (don’t worry, it only adds a few milliseconds). You can also use the CLI by running the sbt task projectile

API Documentation