Skip to content

Commit b76d1e0

Browse files
committed
update to 1.5.0, adapt to new gitbucket version handling, fixes #12
1 parent 776e72c commit b76d1e0

File tree

8 files changed

+36
-44
lines changed

8 files changed

+36
-44
lines changed

build.sbt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
val Organization = "fr.brouillard.gitbucket"
2+
val ProjectName = "gitbucket-announce-plugin"
3+
val ProjectVersion = "1.5.0"
4+
5+
lazy val root = (project in file(".")).enablePlugins(SbtTwirl)
6+
7+
organization := Organization
8+
name := ProjectName
9+
version := ProjectVersion
10+
scalaVersion := "2.11.8"
11+
12+
resolvers ++= Seq(
13+
Classpaths.typesafeReleases,
14+
"central" at "http://repo.maven.apache.org/maven2/",
15+
"amateras" at "http://amateras.sourceforge.jp/mvn/"
16+
)
17+
18+
libraryDependencies ++= Seq(
19+
"io.github.gitbucket" %% "gitbucket" % "4.3.0" % "provided",
20+
"io.github.gitbucket" % "solidbase" % "1.0.0" % "provided",
21+
"com.typesafe.play" %% "twirl-compiler" % "1.0.4" % "provided",
22+
"org.apache.commons" % "commons-email" % "1.4" % "provided",
23+
"com.sun.mail" % "javax.mail" % "1.5.2" % "provided",
24+
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"
25+
)
26+
27+
scalacOptions := Seq("-deprecation", "-feature", "-language:postfixOps")
28+
javacOptions in compile ++= Seq("-target", "7", "-source", "7")

project/build.properties

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

project/build.scala

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

sbt-launch-0.13.5.jar

-1.13 MB
Binary file not shown.

sbt-launch-0.13.9.jar

1.15 MB
Binary file not shown.

sbt.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
set SCRIPT_DIR=%~dp0
2-
java -Dsbt.log.noformat=true -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar "%SCRIPT_DIR%\sbt-launch-0.13.5.jar" %*
2+
java -Dsbt.log.noformat=true -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar "%SCRIPT_DIR%\sbt-launch-0.13.9.jar" %*

sbt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
java -Dsbt.log.noformat=true -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar `dirname $0`/sbt-launch-0.13.5.jar "$@"
2+
java -Dsbt.log.noformat=true -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar `dirname $0`/sbt-launch-0.13.9.jar "$@"

src/main/scala/Plugin.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ class Plugin extends gitbucket.core.plugin.Plugin {
1111
override val description: String = "Allows to handle announces for gitbucket"
1212

1313
override val versions: List[Version] = List(
14-
new Version("1.4.0")
15-
, new Version("1.3.0")
16-
, new Version("1.2.0")
14+
new Version("1.0.0")
1715
, new Version("1.1.0")
18-
, new Version("1.0.0")
16+
, new Version("1.2.0")
17+
, new Version("1.3.0")
18+
, new Version("1.4.0")
19+
, new Version("1.5.0")
1920
)
2021

2122
override val systemSettingMenus: Seq[(Context) => Option[Link]] = Seq(

0 commit comments

Comments
 (0)