Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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