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: about 1 month 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T00:22:16.000Z (7 months ago)
- Last Synced: 2024-10-29T01:23:44.288Z (7 months ago)
- Topics: gitbucket, gitbucket-plugin, sbt, sbt-plugin, scala
- Language: Scala
- Homepage:
- Size: 49.8 KB
- Stars: 7
- Watchers: 8
- 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