File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import gitbucket.plugin.pages.PagesController
44import io .github .gitbucket .solidbase .model .Version
55
66class Plugin extends gitbucket.core.plugin.Plugin {
7- import gitbucket .plugin .pages .util .Version
7+ import gitbucket .plugin .pages .util .VersionUtil
88 override val pluginId = " pages"
99 override val pluginName = " Pages Plugin"
1010 override val description = " Project pages for gitbucket"
11- override val versions = List (new Version (Version .version.getOrElse(" unknown" )))
11+ override val versions = List (new Version (VersionUtil .version.getOrElse(" unknown" )))
1212
1313 override val controllers : Seq [(String , ControllerBase )] = Seq (
1414 " /*" -> new PagesController
@@ -20,7 +20,7 @@ package gitbucket.plugin.pages.util {
2020 import scala .util .Try
2121 import java .util .jar .{ Manifest => JarManifest }
2222
23- object Version {
23+ object VersionUtil {
2424 val version = Try (getVersionFromManifests()).toOption.flatten
2525 def getVersionFromManifests () = {
2626 val resources = getClass.getClassLoader.getResources(" META-INF/MANIFEST.MF" ).asScala.toList
You can’t perform that action at this time.
0 commit comments