Skip to content

Commit

Permalink
Merge pull request #27 from gitbucket-plugins/plugin-registry
Browse files Browse the repository at this point in the history
Bump to sbt-gitbucket-plugin 1.3.0 to be hosted by the plugin registry
  • Loading branch information
takezoe authored Jul 1, 2018
2 parents eb28b9f + 7ffce22 commit 87c651c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 26 deletions.
8 changes: 6 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ On success, you will receive a `HTTP 200` answer with a body containing `done: F

Plugin version | GitBucket version
:--------------|:-----------------
1.6.x | >= 4.21.y |
1.7.x | >= 4.26.y
1.6.x | >= 4.21.y
1.5.x | >= 4.16.y
1.4.x | >= 4.10.y
1.3.x | >= 4.3.y
Expand All @@ -56,7 +57,7 @@ Plugin version | GitBucket version
## Build

```
sbt clean package
sbt clean assembly
```

## Installation
Expand All @@ -66,6 +67,9 @@ sbt clean package

## Release Notes

### 1.7.0
- Bump sbt-gitbucket-plugin to 1.3.0 to be hosted by the [plugin registry](https://plugins.gitbucket-community.org/)

### 1.6.0
- compatibility with GitBucket 4.21.x

Expand Down
21 changes: 3 additions & 18 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
organization := "fr.brouillard.gitbucket"
name := "gitbucket-h2-backup-plugin"
version := "1.6.0"
scalaVersion := "2.12.4"
gitbucketVersion := "4.21.0"

resolvers ++= Seq(
Resolver.jcenterRepo,
Resolver.mavenLocal
)

libraryDependencies ++= Seq(
"io.github.gitbucket" %% "gitbucket" % "4.21.0" % "provided",
"io.github.gitbucket" % "solidbase" % "1.0.2" % "provided",
"com.typesafe.play" %% "twirl-compiler" % "1.3.13" % "provided",
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"
)

scalacOptions := Seq("-deprecation", "-feature", "-language:postfixOps")
javacOptions in compile ++= Seq("-target", "8", "-source", "8")
version := "1.7.0"
scalaVersion := "2.12.6"
gitbucketVersion := "4.26.0"
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version = 1.1.0
sbt.version = 1.1.6
5 changes: 1 addition & 4 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
logLevel := Level.Warn

addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.2.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.3.13")
addSbtPlugin("org.scalatra.sbt" % "sbt-scalatra" % "1.0.1")
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.3.0")
3 changes: 2 additions & 1 deletion src/main/scala/Plugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class Plugin extends gitbucket.core.plugin.Plugin {
new Version("1.4.0"),
new Version("1.5.0"),
new Version("1.5.1"),
new Version("1.6.0"))
new Version("1.6.0"),
new Version("1.7.0"))

override val systemSettingMenus: Seq[(Context) => Option[Link]] = Seq(
(ctx: Context) => Some(Link("h2-backup", "H2 Backup", "admin/h2backup"))
Expand Down

0 comments on commit 87c651c

Please sign in to comment.