File tree 2 files changed +6
-1
lines changed
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"
3
3
version := " 1.0.0"
4
4
scalaVersion := " 2.13.12"
5
5
gitbucketVersion := " 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
1
2
import io .github .gitbucket .helloworld .controller .HelloWorldController
2
3
import io .github .gitbucket .solidbase .model .Version
3
4
@@ -7,7 +8,7 @@ class Plugin extends gitbucket.core.plugin.Plugin {
7
8
override val description : String = " First example of GitBucket plug-in"
8
9
override val versions : List [Version ] = List (new Version (" 1.0.0" ))
9
10
10
- override val controllers = Seq (
11
+ override val controllers : Seq [( String , ControllerBase )] = Seq (
11
12
" /*" -> new HelloWorldController ()
12
13
)
13
14
}
You can’t perform that action at this time.
0 commit comments