Skip to content

Commit 87c651c

Browse files
authored
Merge pull request #27 from gitbucket-plugins/plugin-registry
Bump to sbt-gitbucket-plugin 1.3.0 to be hosted by the plugin registry
2 parents eb28b9f + 7ffce22 commit 87c651c

File tree

5 files changed

+13
-26
lines changed

5 files changed

+13
-26
lines changed

README.MD

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ On success, you will receive a `HTTP 200` answer with a body containing `done: F
4545

4646
Plugin version | GitBucket version
4747
:--------------|:-----------------
48-
1.6.x | >= 4.21.y |
48+
1.7.x | >= 4.26.y
49+
1.6.x | >= 4.21.y
4950
1.5.x | >= 4.16.y
5051
1.4.x | >= 4.10.y
5152
1.3.x | >= 4.3.y
@@ -56,7 +57,7 @@ Plugin version | GitBucket version
5657
## Build
5758

5859
```
59-
sbt clean package
60+
sbt clean assembly
6061
```
6162

6263
## Installation
@@ -66,6 +67,9 @@ sbt clean package
6667

6768
## Release Notes
6869

70+
### 1.7.0
71+
- Bump sbt-gitbucket-plugin to 1.3.0 to be hosted by the [plugin registry](https://plugins.gitbucket-community.org/)
72+
6973
### 1.6.0
7074
- compatibility with GitBucket 4.21.x
7175

build.sbt

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
organization := "fr.brouillard.gitbucket"
22
name := "gitbucket-h2-backup-plugin"
3-
version := "1.6.0"
4-
scalaVersion := "2.12.4"
5-
gitbucketVersion := "4.21.0"
6-
7-
resolvers ++= Seq(
8-
Resolver.jcenterRepo,
9-
Resolver.mavenLocal
10-
)
11-
12-
libraryDependencies ++= Seq(
13-
"io.github.gitbucket" %% "gitbucket" % "4.21.0" % "provided",
14-
"io.github.gitbucket" % "solidbase" % "1.0.2" % "provided",
15-
"com.typesafe.play" %% "twirl-compiler" % "1.3.13" % "provided",
16-
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"
17-
)
18-
19-
scalacOptions := Seq("-deprecation", "-feature", "-language:postfixOps")
20-
javacOptions in compile ++= Seq("-target", "8", "-source", "8")
3+
version := "1.7.0"
4+
scalaVersion := "2.12.6"
5+
gitbucketVersion := "4.26.0"

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version = 1.1.0
1+
sbt.version = 1.1.6

project/plugins.sbt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
logLevel := Level.Warn
2-
3-
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.2.0")
4-
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.3.13")
5-
addSbtPlugin("org.scalatra.sbt" % "sbt-scalatra" % "1.0.1")
2+
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.3.0")

src/main/scala/Plugin.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ class Plugin extends gitbucket.core.plugin.Plugin {
1717
new Version("1.4.0"),
1818
new Version("1.5.0"),
1919
new Version("1.5.1"),
20-
new Version("1.6.0"))
20+
new Version("1.6.0"),
21+
new Version("1.7.0"))
2122

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

0 commit comments

Comments
 (0)