Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
dependencies ▾

Modern-Apps.git / settings.gradle.kts

settings.gradle.kts191 lines · 5.3 KiBRaw
1pluginManagement {
2 includeBuild("build-logic")
3 repositories {
4 google {
5 content {
6 includeGroupByRegex("com\\.android.*")
7 includeGroupByRegex("com\\.google.*")
8 includeGroupByRegex("androidx.*")
9 }
10 }
11 mavenCentral()
12 gradlePluginPortal()
13 }
14}
15
16// Deterministic R8 (reproducible release APKs, see gradle.properties
17// android.r8.threadPoolSize): R8 9.5 races its worker threads while recording
18// argument-type-strengthened signatures, so its output (method protos in
19// classes.dex and the mapping hash embedded as the map id) depends on thread
20// timing, CPU count and how many R8 tasks share AGP's in-process thread pool.
21// Running each R8 task in its own worker process gives it its own pool, which
22// gradle.properties sizes to one thread: every APK is then byte-identical on
23// any machine (F-Droid's builder included) while tasks still run in parallel
24// across apps (android.r8.maxWorkers). The version must equal `agp` in
25// gradle/libs.versions.toml (settings plugins cannot read the catalog).
26plugins {
27 id("com.android.settings") version "9.5.0-alpha09"
28}
29
30android {
31 execution {
32 profiles {
33 create("deterministicR8") {
34 r8 {
35 runInSeparateProcess = true
36 jvmOptions += listOf(
37 "-Xmx3g", "-XX:+UseParallelGC", "-Dfile.encoding=UTF-8",
38 "-XX:ActiveProcessorCount=1",
39 "-Djava.util.concurrent.ForkJoinPool.common.parallelism=1",
40 "-Dcom.android.tools.r8.deterministicdebugging=true",
41 )
42 }
43 }
44 }
45 defaultProfile = "deterministicR8"
46 }
47}
48
49@Suppress("UnstableApiUsage")
50dependencyResolutionManagement {
51 repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
52 repositories {
53 google()
54 mavenCentral()
55 // RingRTC is published by Signal, not to Maven Central. Scoped to org.signal so nothing else
56 // resolves through it.
57 maven("https://build-artifacts.signal.org/libraries/maven/") {
58 content { includeGroup("org.signal") }
59 }
60 }
61}
62
63rootProject.name = "apps"
64include(":lint-rules")
65include(":library")
66include(":library:network")
67include(":library:biometric")
68include(":library:downloadservice")
69include(":library:ui")
70include(":library:room")
71include(":library:ink")
72include(":library:e2ee-p2p")
73include(":library:e2ee-openpgp")
74include(":library:everysync-core")
75include(":library:widgets")
76include(":library:work")
77include(":library:ocr")
78include(":library:map")
79include(":library:ml")
80include(":library:avatar")
81include(":library:image")
82include(":library:media")
83include(":library:log")
84include(":library:format")
85include(":library:wearlink")
86include(":library:weartiles")
87include(":watch")
88include(":watch:wear")
89project(":watch:wear").projectDir = file("watch-wear")
90include(":library:carhost")
91include(":calendar")
92include(":contacts")
93include(":pdf")
94include(":openassistant")
95include(":office")
96include(":passwords")
97include(":notes")
98include(":news")
99include(":flashcards")
100include(":files")
101include(":photos")
102include(":health")
103include(":youpipe")
104include(":youpipe:extractor")
105include(":uniflix")
106include(":findfamily")
107include(":maps")
108include(":games:chess")
109include(":games:unblockjam")
110include(":games:wordmaker")
111include(":music")
112include(":clock")
113include(":games:pipes")
114include(":games:solitaire")
115include(":games:logicgate")
116include(":games:voxels")
117include(":games:sudoku")
118include(":games:minesweeper")
119include(":games:nonogram")
120include(":games:arrows")
121include(":games:kart")
122include(":games:hub")
123include(":email")
124include(":securemail")
125include(":weather")
126include(":camera")
127include(":sdk:openassistant")
128include(":sdk:games")
129include(":sdk:cast")
130include(":sdk:controller")
131include(":things")
132include(":todo")
133include(":education")
134include(":everysync")
135include(":travel")
136include(":astronomy")
137include(":translate")
138include(":calculator")
139include(":code")
140include(":keyboard")
141include(":speech")
142include(":vpn")
143include(":web")
144include(":appstore")
145include(":library:locationprovider")
146include(":library:aosp-stubs")
147include(":library:tv")
148include(":networklocation")
149include(":fooddelivery")
150include(":measure")
151include(":taxi")
152include(":communicate")
153include(":communicate-dev")
154include(":euicc")
155include(":globalesim")
156include(":backup")
157include(":madeveloper")
158include(":shop")
159include(":share")
160include(":launcher")
161include(":cast")
162include(":cast:protocol")
163include(":cast:tv")
164include(":tuner")
165include(":setupwizard")
166include(":logviewer")
167include(":updater")
168include(":parentalcontrols")
169include(":screentime")
170include(":emergency")
171include(":auto")
172include(":auto:protocol")
173
174// Personal / private app modules live under personal/ (gitignored). Included only
175// when present so the public repo still configures without them.
176if (file("personal/dooraccess").exists()) {
177 include(":personal:dooraccess")
178}
179if (file("personal/amazon").exists()) {
180 include(":personal:amazon")
181}
182if (file("personal/kaiser").exists()) {
183 include(":personal:kaiser")
184}
185if (file("personal/uniflix_strem").exists()) {
186 include(":personal:uniflix_strem")
187}
188
189// Desktop JVM shells (Phase 2): host-side sync over the shared core.
190include(":desktop:notes")
191include(":desktop:passwords")