-
Notifications
You must be signed in to change notification settings - Fork 172
/
settings.gradle
68 lines (54 loc) · 1.95 KB
/
settings.gradle
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
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
mavenLocal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
mavenLocal()
}
versionCatalogs {
libs {
version('hidden-api', '4.1.0')
library('hidden-compat', 'dev.rikka.hidden', 'compat').versionRef('hidden-api')
library('hidden-stub', 'dev.rikka.hidden', 'stub').versionRef('hidden-api')
version('refine', '4.3.0')
library('refine-runtime', 'dev.rikka.tools.refine', 'runtime').versionRef('refine')
library('refine-annotation', 'dev.rikka.tools.refine', 'annotation').versionRef('refine')
library('refine-annotation-processor', 'dev.rikka.tools.refine', 'annotation-processor').versionRef('refine')
plugin('refine', 'dev.rikka.tools.refine').versionRef('refine')
}
}
}
include ':module', ':ui'
import org.apache.tools.ant.DirectoryScanner
DirectoryScanner.removeDefaultExclude('**/.gitattributes')
def root = "api"
def propFile = file('local.properties')
def props = new Properties()
if (propFile.canRead()) {
props.load(new FileInputStream(propFile))
if (props != null) {
if (props["api.useLocal"].equals("true")) {
root = props["api.dir"]
}
}
}
include ':aidl'
project(':aidl').projectDir = file("$root${File.separator}aidl")
include ':rish'
project(':rish').projectDir = file("$root${File.separator}rish")
include ':shared'
project(':shared').projectDir = file("$root${File.separator}shared")
include ':api'
project(':api').projectDir = file("$root${File.separator}api")
include ':provider'
project(':provider').projectDir = file("$root${File.separator}provider")
include ':server-shared'
project(':server-shared').projectDir = file("$root${File.separator}server-shared")