gitbucket / sbt-gitbucket-plugin

A sbt plugins which supports GitBucket plugin development


sbt-gitbucket-plugin Build Status Maven Central License

This sbt plugin supports GitBucket plugin development.

Add a following line to your GitBucket plugin's project/plugin.sbt:

addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.4.0")

and define the target GitBucket version in build.sbt:

gitbucketVersion := "4.29.0"

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
  • Enable sbt install task to build and install the GitBucket plugin to the local GitBucket instance


  • Generate a plugin manifest file for network installation