From d70a6c79cf403a0f5507641fed5131e5de0a232a Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Wed, 3 Aug 2016 16:13:37 +0900 Subject: [PATCH] Fix order of version definition and dependency (#13) --- project/build.scala | 11 ++++------- src/main/scala/Plugin.scala | 4 ++-- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/project/build.scala b/project/build.scala index 4f834c8..705904a 100644 --- a/project/build.scala +++ b/project/build.scala @@ -21,14 +21,11 @@ object MyBuild extends Build { version := Version, scalaVersion := ScalaVersion, scalacOptions := Seq("-deprecation", "-language:postfixOps"), - resolvers ++= Seq( - "amateras-repo" at "http://amateras.sourceforge.jp/mvn/" - ), libraryDependencies ++= Seq( - "gitbucket" % "gitbucket-assembly" % "4.0.0" % "provided", - "io.github.gitbucket" % "solidbase" % "1.0.0" % "provided", - "com.typesafe.play" %% "twirl-compiler" % "1.0.4" % "provided", - "javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided" + "io.github.gitbucket" %% "gitbucket" % "4.3.0" % "provided", + "io.github.gitbucket" % "solidbase" % "1.0.0" % "provided", + "com.typesafe.play" %% "twirl-compiler" % "1.0.4" % "provided", + "javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided" ), javacOptions in compile ++= Seq("-target", "7", "-source", "7") ).enablePlugins(SbtTwirl) diff --git a/src/main/scala/Plugin.scala b/src/main/scala/Plugin.scala index 3add533..71768ee 100644 --- a/src/main/scala/Plugin.scala +++ b/src/main/scala/Plugin.scala @@ -12,8 +12,8 @@ class Plugin extends gitbucket.core.plugin.Plugin { override val description: String = "Allows to export h2 database of gitbucket" override val versions: List[Version] = List( - new Version("1.2.0"), - new Version("1.0.0") + new Version("1.0.0"), + new Version("1.2.0") ) override val systemSettingMenus: Seq[(Context) => Option[Link]] = Seq(