Skip to content

Commit

Permalink
fixes #9, introduce compatibility with gitbcuket-3.11
Browse files Browse the repository at this point in the history
prepare for 1.1 release
  • Loading branch information
McFoggy committed Feb 1, 2016
1 parent 80bae1e commit 9d43488
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
target/
.idea/
.idea_modules/
project/project/
project/target/
13 changes: 12 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ On success, you will receive a `HTTP 200` answer with a body containing the word

Plugin version | GitBucket version
:--------------|:-----------------
1.0.x | 3.6.x, 3.7.x, 3.8.x
1.1.x | 3.11.x
1.0.x | 3.6.x, 3.7.x, 3.8.x,, 3.9.x, 3.10.x

## Build

```
sbt clean package
```

## Installation

Expand All @@ -50,6 +57,10 @@ Plugin version | GitBucket version

## Release Notes

### 1.1

- recompilation to ensure binary compatibility with gitbucket 3.11

### 1.0

- introduce gitbucket-h2-backup-plugin
Expand Down
4 changes: 2 additions & 2 deletions project/build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ object MyBuild extends Build {

val Organization = "fr.brouillard.gitbucket"
val Name = "gitbucket-h2-backup-plugin"
val Version = "1.0"
val Version = "1.1"
val ScalaVersion = "2.11.6"

lazy val project = Project (
Expand All @@ -25,7 +25,7 @@ object MyBuild extends Build {
"amateras-repo" at "http://amateras.sourceforge.jp/mvn/"
),
libraryDependencies ++= Seq(
"gitbucket" % "gitbucket-assembly" % "3.5.0" % "provided",
"gitbucket" % "gitbucket-assembly" % "3.11.0" % "provided",
"com.typesafe.play" %% "twirl-compiler" % "1.0.4" % "provided",
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"
),
Expand Down
4 changes: 3 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
logLevel := Level.Warn

addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.0.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.0.2")

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import gitbucket.core.util.Directory._
import fr.brouillard.gitbucket.h2._
import org.scalatra.Ok
import org.slf4j.LoggerFactory
import jp.sf.amateras.scalatra.forms._
import io.github.gitbucket.scalatra.forms._

class H2BackupController extends ControllerBase with AdminAuthenticator {
private val logger = LoggerFactory.getLogger(classOf[H2BackupController])
Expand Down

0 comments on commit 9d43488

Please sign in to comment.