Reputation: 7940
Often time, I need to add SBT plugin which is not applicable to the project but just for myself. For example, I use eclipse as my IDE so I want to enable this plugin for all my SBT projects without having to include it in plugin.sbt file. This is because my colleagues might be using different editors so it doesn't make sense to check in this plugin to the source control. Is this possible?
Upvotes: 1
Views: 138
Reputation: 8601
You can add plugins(and settings) globally by placing them in ~/.sbt/
.
The path for global plugins is ~/.sbt/plugins/build.sbt
(until 0.12.X) and ~/.sbt/<version>/plugins/build.sbt
(starting with 0.13.x).
Reference: http://www.scala-sbt.org/0.13/docs/Global-Settings.html#Global+Settings+using+a+Global+Plugin
Upvotes: 2