gitbucket / sbt-gitbucket-plugin   1.6.0

Apache License 2.0 GitHub

A sbt plugins which supports GitBucket plugin development

Scala versions: 2.12
sbt plugins: 1.x

sbt-gitbucket-plugin build 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.6.0")

and define the target GitBucket version in build.sbt:

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