Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / settings.gradle.kts
settings.gradle.kts191 lines · 5.3 KiBRaw
| 1 | pluginManagement { |
| 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). |
| 26 | plugins { |
| 27 | id("com.android.settings") version "9.5.0-alpha09" |
| 28 | } |
| 29 | |
| 30 | android { |
| 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") |
| 50 | dependencyResolutionManagement { |
| 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 | |
| 63 | rootProject.name = "apps" |
| 64 | include(":lint-rules") |
| 65 | include(":library") |
| 66 | include(":library:network") |
| 67 | include(":library:biometric") |
| 68 | include(":library:downloadservice") |
| 69 | include(":library:ui") |
| 70 | include(":library:room") |
| 71 | include(":library:ink") |
| 72 | include(":library:e2ee-p2p") |
| 73 | include(":library:e2ee-openpgp") |
| 74 | include(":library:everysync-core") |
| 75 | include(":library:widgets") |
| 76 | include(":library:work") |
| 77 | include(":library:ocr") |
| 78 | include(":library:map") |
| 79 | include(":library:ml") |
| 80 | include(":library:avatar") |
| 81 | include(":library:image") |
| 82 | include(":library:media") |
| 83 | include(":library:log") |
| 84 | include(":library:format") |
| 85 | include(":library:wearlink") |
| 86 | include(":library:weartiles") |
| 87 | include(":watch") |
| 88 | include(":watch:wear") |
| 89 | project(":watch:wear").projectDir = file("watch-wear") |
| 90 | include(":library:carhost") |
| 91 | include(":calendar") |
| 92 | include(":contacts") |
| 93 | include(":pdf") |
| 94 | include(":openassistant") |
| 95 | include(":office") |
| 96 | include(":passwords") |
| 97 | include(":notes") |
| 98 | include(":news") |
| 99 | include(":flashcards") |
| 100 | include(":files") |
| 101 | include(":photos") |
| 102 | include(":health") |
| 103 | include(":youpipe") |
| 104 | include(":youpipe:extractor") |
| 105 | include(":uniflix") |
| 106 | include(":findfamily") |
| 107 | include(":maps") |
| 108 | include(":games:chess") |
| 109 | include(":games:unblockjam") |
| 110 | include(":games:wordmaker") |
| 111 | include(":music") |
| 112 | include(":clock") |
| 113 | include(":games:pipes") |
| 114 | include(":games:solitaire") |
| 115 | include(":games:logicgate") |
| 116 | include(":games:voxels") |
| 117 | include(":games:sudoku") |
| 118 | include(":games:minesweeper") |
| 119 | include(":games:nonogram") |
| 120 | include(":games:arrows") |
| 121 | include(":games:kart") |
| 122 | include(":games:hub") |
| 123 | include(":email") |
| 124 | include(":securemail") |
| 125 | include(":weather") |
| 126 | include(":camera") |
| 127 | include(":sdk:openassistant") |
| 128 | include(":sdk:games") |
| 129 | include(":sdk:cast") |
| 130 | include(":sdk:controller") |
| 131 | include(":things") |
| 132 | include(":todo") |
| 133 | include(":education") |
| 134 | include(":everysync") |
| 135 | include(":travel") |
| 136 | include(":astronomy") |
| 137 | include(":translate") |
| 138 | include(":calculator") |
| 139 | include(":code") |
| 140 | include(":keyboard") |
| 141 | include(":speech") |
| 142 | include(":vpn") |
| 143 | include(":web") |
| 144 | include(":appstore") |
| 145 | include(":library:locationprovider") |
| 146 | include(":library:aosp-stubs") |
| 147 | include(":library:tv") |
| 148 | include(":networklocation") |
| 149 | include(":fooddelivery") |
| 150 | include(":measure") |
| 151 | include(":taxi") |
| 152 | include(":communicate") |
| 153 | include(":communicate-dev") |
| 154 | include(":euicc") |
| 155 | include(":globalesim") |
| 156 | include(":backup") |
| 157 | include(":madeveloper") |
| 158 | include(":shop") |
| 159 | include(":share") |
| 160 | include(":launcher") |
| 161 | include(":cast") |
| 162 | include(":cast:protocol") |
| 163 | include(":cast:tv") |
| 164 | include(":tuner") |
| 165 | include(":setupwizard") |
| 166 | include(":logviewer") |
| 167 | include(":updater") |
| 168 | include(":parentalcontrols") |
| 169 | include(":screentime") |
| 170 | include(":emergency") |
| 171 | include(":auto") |
| 172 | include(":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. |
| 176 | if (file("personal/dooraccess").exists()) { |
| 177 | include(":personal:dooraccess") |
| 178 | } |
| 179 | if (file("personal/amazon").exists()) { |
| 180 | include(":personal:amazon") |
| 181 | } |
| 182 | if (file("personal/kaiser").exists()) { |
| 183 | include(":personal:kaiser") |
| 184 | } |
| 185 | if (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. |
| 190 | include(":desktop:notes") |
| 191 | include(":desktop:passwords") |