https://github.com/gitbucket/sbt-gitbucket-plugin
A sbt plugins which supports GitBucket plugin development
https://github.com/gitbucket/sbt-gitbucket-plugin
gitbucket gitbucket-plugin sbt sbt-plugin scala
Last synced: 4 months ago
JSON representation
A sbt plugins which supports GitBucket plugin development
- Host: GitHub
- URL: https://github.com/gitbucket/sbt-gitbucket-plugin
- Owner: gitbucket
- License: apache-2.0
- Created: 2017-11-13T04:55:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-08-26T00:35:10.000Z (5 months ago)
- Last Synced: 2025-08-26T01:21:46.738Z (5 months ago)
- Topics: gitbucket, gitbucket-plugin, sbt, sbt-plugin, scala
- Language: Scala
- Homepage:
- Size: 58.6 KB
- Stars: 7
- Watchers: 7
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
sbt-gitbucket-plugin [](https://github.com/gitbucket/sbt-gitbucket-plugin/actions?query=workflow%3Abuild+branch%3Amaster) [](https://maven-badges.herokuapp.com/maven-central/io.github.gitbucket/sbt-gitbucket-plugin) [](https://github.com/gitbucket/gitbucket/blob/master/LICENSE)
========
This sbt plugin supports GitBucket plugin development.
Add a following line to your GitBucket plugin's `project/plugin.sbt`:
```scala
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.6.0")
```
and define the target GitBucket version in `build.sbt`:
```scala
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](https://github.com/sbt/sbt-assembly) plugin to package your GitBucket plugin
- Enable [sbt-twirl](https://github.com/playframework/twirl) plugin to compile twirl templates
- Enable `sbt install` task to build and install the GitBucket plugin to the local GitBucket instance