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

Modern-Apps.git / updater / build.gradle.kts

build.gradle.kts28 lines · 858 BRaw
1plugins {
2 id("common-conventions-app")
3 id("common-conventions-preview-metadata")
4}
5
6launcherIcon {
7 symbol = "system_update"
8}
9
10android {
11 defaultConfig {
12 applicationId = "com.vayunmathur.updater"
13 }
14}
15
16dependencies {
17 // WorkManager for the periodic check. The install itself is a foreground service, not a
18 // worker - see UpdateInstallService for why.
19 implementation(libs.androidx.work.runtime.ktx)
20 implementation(project(":library:work"))
21
22 // Compile-only stubs for @SystemApi android.os.UpdateEngine / UpdateEngineCallback — the
23 // A/B slot writer. Present at runtime on a MAOS image because this app is privileged;
24 // absent from the public SDK, and must NOT be packaged. See :library:aosp-stubs.
25 compileOnly(project(":library:aosp-stubs"))
26
27 testImplementation(libs.androidx.work.testing)
28}