forked from fahrez182/AxManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
71 lines (56 loc) · 1.76 KB
/
settings.gradle.kts
File metadata and controls
71 lines (56 loc) · 1.76 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import java.io.FileInputStream
import java.util.Properties
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
rootProject.name = "AxManager"
include(":manager")
include(":server")
include(":adb")
include(":server:stub")
include(":reignite")
var root = "api"
val propFile = file("local.properties")
val props = Properties()
if (propFile.canRead()) {
props.load(FileInputStream(propFile))
if (props["api.useLocal"]?.equals("true") ?: false) {
root = props["api.dir"] as String
}
}
include(":aidl")
project(":aidl").projectDir = file("$root${File.separator}aidl")
include(":api")
project(":api").projectDir = file("$root${File.separator}api")
include(":provider")
project(":provider").projectDir = file("$root${File.separator}provider")
include(":shared")
project(":shared").projectDir = file("$root${File.separator}shared")
include(":server-shared")
project(":server-shared").projectDir = file("$root${File.separator}server-shared")
include(":rish")
project(":rish").projectDir = file("$root${File.separator}rish")
include(":shell")
project(":shell").projectDir = file("$root${File.separator}shell")
include(":runtime")
project(":runtime").projectDir = file("$root${File.separator}runtime")
include(":axerish")
project(":axerish").projectDir = file("$root${File.separator}axerish")