mirror of
https://github.com/sbt/sbt.git
synced 2026-09-06 17:40:06 +02:00
Fixes https://github.com/sbt/sbt/issues/1502 This adds `--addPluginSbtFile=<file>` command, which adds the given .sbt file to the plugin build. Using this mechanism editors or IDEs can start a build with required plugin. ``` $ cat /tmp/extra.sbt addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.7") $ sbt --addPluginSbtFile=/tmp/extra.sbt ... sbt:helloworld> plugins In file:/xxxx/hellotest/ ... sbtassembly.AssemblyPlugin: enabled in root ```
15 lines
404 B
Markdown
15 lines
404 B
Markdown
Adds `--addPluginSbtFile=<file>` command, which adds the given .sbt file to the plugin build.
|
|
Using this mechanism editors or IDEs can start a build with required plugin.
|
|
|
|
```
|
|
$ cat /tmp/extra.sbt
|
|
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.7")
|
|
|
|
$ sbt --addPluginSbtFile=/tmp/extra.sbt
|
|
...
|
|
sbt:helloworld> plugins
|
|
In file:/xxxx/hellotest/
|
|
...
|
|
sbtassembly.AssemblyPlugin: enabled in root
|
|
```
|