-
Notifications
You must be signed in to change notification settings - Fork 684
/
settings.gradle
85 lines (72 loc) · 2.61 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
mavenLocal()
maven {
url("https://s01.oss.sonatype.org/content/repositories/releases/")
content {
includeGroup("dev.rikka.tools.refine")
includeGroup("dev.rikka.tools.autoresconfig")
includeGroup("dev.rikka.tools.materialthemebuilder")
}
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
mavenLocal()
maven { url 'https://jitpack.io' }
maven {
url("https://s01.oss.sonatype.org/content/repositories/releases/")
content {
includeGroupByRegex("dev.rikka.*")
includeGroup("org.lsposed.hiddenapibypass")
}
}
}
versionCatalogs {
libs {
version('hidden-api', '4.3.3')
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 ':server', ':starter', ':shell'
include ':manager'
include ':common'
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")
include ':hidden-api-stub'
project(':hidden-api-stub').projectDir = file("$root${File.separator}hidden-api-stub")