gitbucket / sbt-gitbucket-plugin

A sbt plugins which supports GitBucket plugin development

Github

sbt-gitbucket-plugin

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.2.0")

and define the target GitBucket version in build.sbt:

gitbucketVersion := "4.18.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

TODO

  • Generate a plugin manifest file for network installation