This sbt plugin supports GitBucket plugin development.
Add a following line to your GitBucket plugin's
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.3.0")
and define the target GitBucket version in
gitbucketVersion := "4.24.1"
This plugin provides following functionality in your GitBucket plugin project:
- Add GitBucket core library and Servlet API dependencies to the project as "provided" scope
- Enable sbt-assembly plugin to package your GitBucket plugin
- Enable sbt-twirl plugin to compile twirl templates
sbt installtask to build and install the GitBucket plugin to the local GitBucket instance
- Generate a plugin manifest file for network installation