Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / updater / build.gradle.kts
build.gradle.kts26 lines · 806 BRaw
| 1 | plugins { |
| 2 | id("common-conventions-app") |
| 3 | id("common-conventions-preview-metadata") |
| 4 | } |
| 5 | |
| 6 | launcherIcon { |
| 7 | symbol = "system_update" |
| 8 | } |
| 9 | |
| 10 | android { |
| 11 | defaultConfig { |
| 12 | applicationId = "com.vayunmathur.updater" |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | dependencies { |
| 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 | } |