File tree Expand file tree Collapse file tree
library/src/main/java/com/absinthe/rulesbundle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ package com.absinthe.rulesbundle
22
33sealed class LCRemoteRepo {
44 object Github : LCRemoteRepo()
5- object Gitee : LCRemoteRepo()
5+ object Gitlab : LCRemoteRepo()
66}
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ object LCRules : IAPI {
8080 this .repo = repo
8181 this .baseUrl = when (repo) {
8282 LCRemoteRepo .Github -> Urls .GITHUB_ROOT_URL
83- LCRemoteRepo .Gitee -> Urls .GITEE_ROOT_URL
83+ LCRemoteRepo .Gitlab -> Urls .GITLAB_ROOT_URL
8484 }
8585 }
8686
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ private const val WORKING_BRANCH = BRANCH_MASTER
66object Urls {
77 const val GITHUB_ROOT_URL =
88 " https://raw.githubusercontent.com/zhaobozhen/LibChecker-Rules/$WORKING_BRANCH /"
9- const val GITEE_ROOT_URL =
10- " https://gitee .com/zhaobozhen/LibChecker-Rules/raw/$WORKING_BRANCH /"
9+ const val GITLAB_ROOT_URL =
10+ " https://gitlab .com/zhaobozhen/LibChecker-Rules/- /raw/$WORKING_BRANCH /"
1111}
You can’t perform that action at this time.
0 commit comments