Skip to content

Commit

Permalink
update some libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
aadrian committed Sep 3, 2017
1 parent 3aa1602 commit e5f835a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jdk:
- oraclejdk8

scala:
- 2.12.1
- 2.12.3

script: travis_wait sbt ++$TRAVIS_SCALA_VERSION test
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
val Organization = "com.github.lefou"
// Don't forget to also update src/main/scala/Plugin.scala
val Version = "1.0.2"
val Version = "1.0.3"

val CompatMode = System.getenv("COMPAT_MODE") == "1"

val ScalaVersion = if(CompatMode) "2.11.8" else "2.12.1"
val ScalaVersion = if(CompatMode) "2.11.8" else "2.12.3"

val GitBucketVersion = if(CompatMode) "4.0" else "4.10"
val GitBucketVersion = if(CompatMode) "4.0" else "4.16"
val GitBucketAssembly =
if(CompatMode) "gitbucket" % "gitbucket-assembly" % s"${GitBucketVersion}.0"
else "io.github.gitbucket" %% "gitbucket" % s"${GitBucketVersion}.0"
Expand All @@ -31,8 +31,8 @@ lazy val root = (project in file(".")).
libraryDependencies ++= Seq(
GitBucketAssembly % "provided",
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided",
"org.asciidoctor" % "asciidoctorj" % "1.5.4",
"net.sourceforge.htmlcleaner" % "htmlcleaner" % "2.16"
"org.asciidoctor" % "asciidoctorj" % "1.5.6",
"net.sourceforge.htmlcleaner" % "htmlcleaner" % "2.21"
),
javacOptions in compile ++= JavaOptions,

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version = 0.13.8
sbt.version = 0.13.15
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.5")
3 changes: 2 additions & 1 deletion src/main/scala/Plugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class Plugin extends gitbucket.core.plugin.Plugin {
override val description: String = "Provides AsciiDoc rendering for GitBucket."
override val versions: List[Version] = List(
new Version("1.0.1"),
new Version("1.0.2")
new Version("1.0.2"),
new Version("1.0.3")
)

private[this] var renderer: Option[AsciidoctorRenderer] = None
Expand Down

0 comments on commit e5f835a

Please sign in to comment.