File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ organization := "io.github.gitbucket"
33version := " 1.0.0"
44scalaVersion := " 2.13.12"
55gitbucketVersion := " 4.40.0"
6+ scalacOptions ++= Seq (
7+ " -deprecation" ,
8+ " -Xsource:3" ,
9+ )
Original file line number Diff line number Diff line change 1+ import gitbucket .core .controller .ControllerBase
12import io .github .gitbucket .helloworld .controller .HelloWorldController
23import io .github .gitbucket .solidbase .model .Version
34
@@ -7,7 +8,7 @@ class Plugin extends gitbucket.core.plugin.Plugin {
78 override val description : String = " First example of GitBucket plug-in"
89 override val versions : List [Version ] = List (new Version (" 1.0.0" ))
910
10- override val controllers = Seq (
11+ override val controllers : Seq [( String , ControllerBase )] = Seq (
1112 " /*" -> new HelloWorldController ()
1213 )
1314}
You can’t perform that action at this time.
0 commit comments