forked from SagerNet/SagerNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
50 lines (44 loc) · 1.45 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
include(":library:stub")
include(":library:include")
include(":library:proto")
include(":library:proto-stub")
include(":plugin:api")
val buildPlugin = System.getenv("BUILD_PLUGIN")
when {
buildPlugin.isNullOrBlank() -> {
include(":plugin:naive")
include(":plugin:pingtunnel")
include(":plugin:relaybaton")
include(":plugin:brook")
include(":plugin:trojan-go")
include(":plugin:hysteria")
include(":plugin:mieru")
include(":plugin:tuic")
}
buildPlugin == "none" -> {
}
else -> {
include(":plugin:$buildPlugin")
}
}
include(":external:preferencex:preferencex")
include(":external:preferencex:preferencex-simplemenu")
include(":external:preferencex:flexbox")
include(":external:preferencex:colorpicker")
include(":external:preferencex:preferencex-colorpicker")
includeBuild("external/editorkit") {
name = "editorkit"
dependencySubstitution {
substitute(module("editorkit:editorkit:2.0.0")).using(project(":editorkit"))
substitute(module("editorkit:feature-editor:2.0.0")).using(project(":features:feature-editor"))
substitute(module("editorkit:language-json:2.0.0")).using(project(":languages:language-json"))
}
}
includeBuild("external/termux-view") {
name = "termux-view"
dependencySubstitution {
substitute(module("termux:terminal-view:1.0")).using(project(":terminal-view"))
}
}
include(":app")
rootProject.name = "SagerNet"