Skip to content

Commit b7394dd

Browse files
takezoeyaroot
authored andcommitted
Update to use sbt-gitbucket plugin
1 parent c98a052 commit b7394dd

File tree

6 files changed

+14
-24
lines changed

6 files changed

+14
-24
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ version please follow the instruction below**
3838

3939
| pages version | gitbucket version |
4040
| :---: | :---: |
41+
| 1.7.0 | 4.23.0 |
4142
| 1.6.0 | 4.19.0 |
4243
| 1.5.0 | 4.15.0 |
4344
| 1.3 | 4.14.1 |

build.sbt

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
1-
organization := "gitbucket"
2-
name := "gitbucket-pages-plugin"
3-
scalaVersion := "2.12.4"
4-
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature")
5-
6-
enablePlugins(SbtTwirl)
7-
8-
resolvers ++= Seq(
9-
Resolver.jcenterRepo,
10-
Resolver.mavenLocal
11-
)
12-
13-
libraryDependencies ++= Seq(
14-
"io.github.gitbucket" %% "gitbucket" % "4.23.0-SNAPSHOT",
15-
"javax.servlet" % "javax.servlet-api" % "3.1.0"
16-
)
1+
organization := "gitbucket"
2+
name := "gitbucket-pages-plugin"
3+
scalaVersion := "2.12.4"
4+
version := "1.6.0"
5+
gitbucketVersion := "4.23.0"
6+
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature")
177

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.1

project/plugins.sbt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.2")
2-
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.0")
3-
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "2.0.0")
4-
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.3.13")
5-
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.3")
1+
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.2")
2+
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.0")
3+
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.3")
4+
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.2.0")

src/main/scala/Plugin.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class Plugin extends gitbucket.core.plugin.Plugin {
2929
new Version("1.3"),
3030
new Version("1.4.0"),
3131
new Version("1.5.0"),
32-
new Version("1.6.0"))
32+
new Version("1.6.0"),
33+
new Version("1.7.0"))
3334

3435
override val controllers: Seq[(String, ControllerBase)] = Seq(
3536
"/*" -> new PagesController)

version.sbt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)