-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
/
settings.gradle.kts
105 lines (94 loc) · 3.04 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
includeBuild("build-logic")
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
mavenLocal()
maven {
url = uri("https://raw.githubusercontent.com/signalapp/maven/master/sqlcipher/release/")
content {
includeGroupByRegex("org\\.signal.*")
}
}
maven {
url = uri("https://dl.cloudsmith.io/qxAgwaeEE1vN8aLU/mobilecoin/mobilecoin/maven/")
}
}
versionCatalogs {
// libs.versions.toml is automatically registered.
create("benchmarkLibs") {
from(files("gradle/benchmark-libs.versions.toml"))
}
create("testLibs") {
from(files("gradle/test-libs.versions.toml"))
}
create("lintLibs") {
from(files("gradle/lint-libs.versions.toml"))
}
}
}
// To build libsignal from source, set the libsignalClientPath property in gradle.properties.
val libsignalClientPath = if (extra.has("libsignalClientPath")) extra.get("libsignalClientPath") else null;
if (libsignalClientPath is String) {
includeBuild(rootDir.resolve(libsignalClientPath + "/java")) {
name = "libsignal-client"
dependencySubstitution {
substitute(module("org.signal:libsignal-client")).using(project(":client"))
substitute(module("org.signal:libsignal-android")).using(project(":android"))
}
}
}
include(":app")
include(":libsignal-service")
include(":lintchecks")
include(":paging")
include(":paging-app")
include(":core-util")
include(":core-util-jvm")
include(":glide-config")
include(":device-transfer")
include(":device-transfer-app")
include(":image-editor")
include(":image-editor-app")
include(":donations")
include(":donations-app")
include(":spinner")
include(":spinner-app")
include(":contacts")
include(":contacts-app")
include(":qr")
include(":qr-app")
include(":sticky-header-grid")
include(":photoview")
include(":core-ui")
include(":benchmark")
include(":microbenchmark")
include(":video")
include(":video-app")
include(":billing")
project(":app").name = "Signal-Android"
project(":paging").projectDir = file("paging/lib")
project(":paging-app").projectDir = file("paging/app")
project(":device-transfer").projectDir = file("device-transfer/lib")
project(":device-transfer-app").projectDir = file("device-transfer/app")
project(":image-editor").projectDir = file("image-editor/lib")
project(":image-editor-app").projectDir = file("image-editor/app")
project(":donations").projectDir = file("donations/lib")
project(":donations-app").projectDir = file("donations/app")
project(":spinner").projectDir = file("spinner/lib")
project(":spinner-app").projectDir = file("spinner/app")
project(":contacts").projectDir = file("contacts/lib")
project(":contacts-app").projectDir = file("contacts/app")
project(":qr").projectDir = file("qr/lib")
project(":qr-app").projectDir = file("qr/app")
project(":video").projectDir = file("video/lib")
project(":video-app").projectDir = file("video/app")
rootProject.name = "Signal"