Skip to content

Commit

Permalink
add scalacOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Nov 16, 2023
1 parent 1270571 commit c6004a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ organization := "io.github.gitbucket"
version := "1.0.0"
scalaVersion := "2.13.12"
gitbucketVersion := "4.40.0"
scalacOptions ++= Seq(
"-deprecation",
"-Xsource:3",
)
3 changes: 2 additions & 1 deletion src/main/scala/Plugin.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import gitbucket.core.controller.ControllerBase
import io.github.gitbucket.helloworld.controller.HelloWorldController
import io.github.gitbucket.solidbase.model.Version

Expand All @@ -7,7 +8,7 @@ class Plugin extends gitbucket.core.plugin.Plugin {
override val description: String = "First example of GitBucket plug-in"
override val versions: List[Version] = List(new Version("1.0.0"))

override val controllers = Seq(
override val controllers: Seq[(String, ControllerBase)] = Seq(
"/*" -> new HelloWorldController()
)
}

0 comments on commit c6004a6

Please sign in to comment.