Skip to content

Commit 77d3024

Browse files
committed
Update to use sbt-gitbucket-plugin
1 parent 1244d79 commit 77d3024

File tree

5 files changed

+7
-32
lines changed

5 files changed

+7
-32
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ language: scala
33
jdk:
44
- oraclejdk8
55
script:
6-
- ./build-gitbucket-plugin.sh
6+
- sbt test

build-gitbucket-plugin.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

build.sbt

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
val Organization = "io.github.gitbucket"
2-
val ProjectName = "gitbucket-notifications-plugin"
3-
val ProjectVersion = "1.4.0"
4-
val GitBucketVersion = Option(System.getProperty("gitbucket.version")).getOrElse("4.19.0")
5-
6-
name := ProjectName
7-
organization := Organization
8-
version := ProjectVersion
1+
name := "gitbucket-notifications-plugin"
2+
organization := "io.github.gitbucket"
3+
version := "1.4.0"
94
scalaVersion := "2.12.4"
10-
11-
lazy val root = (project in file(".")).enablePlugins(SbtTwirl)
12-
13-
libraryDependencies ++= Seq(
14-
"io.github.gitbucket" %% "gitbucket" % GitBucketVersion % "provided",
15-
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"
16-
)
17-
18-
scalacOptions ++= Seq("-feature", "-deprecation")
19-
useJCenter := true
5+
gitbucketVersion := "4.19.0"

project/build.properties

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

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.3.12")
1+
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.2.0")

0 commit comments

Comments
 (0)