Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T00:22:16.000Z (2 months ago)
- Last Synced: 2024-10-29T01:23:44.288Z (2 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 [![build](https://github.com/gitbucket/sbt-gitbucket-plugin/workflows/build/badge.svg?branch=master)](https://github.com/gitbucket/sbt-gitbucket-plugin/actions?query=workflow%3Abuild+branch%3Amaster) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.gitbucket/sbt-gitbucket-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.gitbucket/sbt-gitbucket-plugin) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](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