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

Modern-Apps.git / settings.gradle.kts

settings.gradle.kts190 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(":watch")
87include(":watch:wear")
88project(":watch:wear").projectDir = file("watch-wear")
89include(":library:carhost")
90include(":calendar")
91include(":contacts")
92include(":pdf")
93include(":openassistant")
94include(":office")
95include(":passwords")
96include(":notes")
97include(":news")
98include(":flashcards")
99include(":files")
100include(":photos")
101include(":health")
102include(":youpipe")
103include(":youpipe:extractor")
104include(":uniflix")
105include(":findfamily")
106include(":maps")
107include(":games:chess")
108include(":games:unblockjam")
109include(":games:wordmaker")
110include(":music")
111include(":clock")
112include(":games:pipes")
113include(":games:solitaire")
114include(":games:logicgate")
115include(":games:voxels")
116include(":games:sudoku")
117include(":games:minesweeper")
118include(":games:nonogram")
119include(":games:arrows")
120include(":games:kart")
121include(":games:hub")
122include(":email")
123include(":securemail")
124include(":weather")
125include(":camera")
126include(":sdk:openassistant")
127include(":sdk:games")
128include(":sdk:cast")
129include(":sdk:controller")
130include(":things")
131include(":todo")
132include(":education")
133include(":everysync")
134include(":travel")
135include(":astronomy")
136include(":translate")
137include(":calculator")
138include(":code")
139include(":keyboard")
140include(":speech")
141include(":vpn")
142include(":web")
143include(":appstore")
144include(":library:locationprovider")
145include(":library:aosp-stubs")
146include(":library:tv")
147include(":networklocation")
148include(":fooddelivery")
149include(":measure")
150include(":taxi")
151include(":communicate")
152include(":communicate-dev")
153include(":euicc")
154include(":globalesim")
155include(":backup")
156include(":madeveloper")
157include(":shop")
158include(":share")
159include(":launcher")
160include(":cast")
161include(":cast:protocol")
162include(":cast:tv")
163include(":tuner")
164include(":setupwizard")
165include(":logviewer")
166include(":updater")
167include(":parentalcontrols")
168include(":screentime")
169include(":emergency")
170include(":auto")
171include(":auto:protocol")
172
173// Personal / private app modules live under personal/ (gitignored). Included only
174// when present so the public repo still configures without them.
175if (file("personal/dooraccess").exists()) {
176 include(":personal:dooraccess")
177}
178if (file("personal/amazon").exists()) {
179 include(":personal:amazon")
180}
181if (file("personal/kaiser").exists()) {
182 include(":personal:kaiser")
183}
184if (file("personal/uniflix_strem").exists()) {
185 include(":personal:uniflix_strem")
186}
187
188// Desktop JVM shells (Phase 2): host-side sync over the shared core.
189include(":desktop:notes")
190include(":desktop:passwords")