diff --git a/build.sbt b/build.sbt index 63ab397..b29ed5f 100644 --- a/build.sbt +++ b/build.sbt @@ -1,8 +1,8 @@ organization := "gitbucket" name := "gitbucket-pages-plugin" -scalaVersion := "2.13.3" +scalaVersion := "2.13.5" version := "1.9.0" -gitbucketVersion := "4.35.0" +gitbucketVersion := "4.35.3" scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature") scalafmtOnCompile := true diff --git a/project/build.properties b/project/build.properties index 7de0a93..e67343a 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.4.4 +sbt.version=1.5.0 diff --git a/project/plugins.sbt b/project/plugins.sbt index 72bcbc3..3f89f9d 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,3 @@ addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.5.0") addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.0") -addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.5.0") +addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.5.1") diff --git a/src/main/scala/gitbucket/plugin/service/PagesService.scala b/src/main/scala/gitbucket/plugin/service/PagesService.scala index ff44eda..9ca35de 100644 --- a/src/main/scala/gitbucket/plugin/service/PagesService.scala +++ b/src/main/scala/gitbucket/plugin/service/PagesService.scala @@ -21,7 +21,8 @@ trait PagesService { .map(t => t.source) .update(source) - def renameRepository(userName: String, oldRepositoryName: String, newRepositoryName: String)(implicit + def renameRepository(userName: String, oldRepositoryName: String, newRepositoryName: String)( + implicit s: Session ): Unit = Pages