-
-
Notifications
You must be signed in to change notification settings - Fork 94
/
settings.gradle.kts
127 lines (116 loc) · 3.67 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
includeBuild("build-logic")
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
mavenLocal {
content {
includeGroup("im.molly")
includeGroup("org.signal")
}
}
maven {
url = uri("https://raw.githubusercontent.com/mollyim/maven/master/argon2/releases/")
content {
includeModule("im.molly", "argon2")
}
}
maven {
url = uri("https://raw.githubusercontent.com/mollyim/maven/master/ringrtc/releases/")
content {
includeModule("im.molly", "ringrtc-android")
}
}
maven {
url = uri("https://raw.githubusercontent.com/mollyim/maven/master/native-utils/releases/")
content {
includeModule("im.molly", "native-utils")
}
}
maven {
url = uri("https://raw.githubusercontent.com/mollyim/maven/master/glide-webp-decoder/releases/")
content {
includeModule("im.molly", "glide-webp-decoder")
}
}
maven {
url = uri("https://raw.githubusercontent.com/signalapp/maven/master/sqlcipher/release/")
content {
includeModule("org.signal", "sqlcipher-android")
}
}
}
versionCatalogs {
// libs.versions.toml is automatically registered.
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(":libfakegms")
include(":libnetcipher")
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(":video")
//include(":video-app")
include(":billing")
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 = "Molly"