Skip to content

gitbucket/sbt-gitbucket-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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