Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / launcher / build.gradle.kts
build.gradle.kts35 lines · 1.2 KiBRaw
| 1 | plugins { |
| 2 | id("common-conventions-app") |
| 3 | // androidx.tv, so the in-app TV mode is built on a design system that knows what a |
| 4 | // D-pad is. Named alongside (the cast:tv precedent): the launcherIcon/nativeAbis |
| 5 | // accessors are generated from directly-applied plugins. |
| 6 | id("common-conventions-tv") |
| 7 | // Listing screenshots come from Compose previews (src/screenshotTest), not from an |
| 8 | // instrumented test on a device. Same `:launcher:metadata` task name either way. |
| 9 | id("common-conventions-preview-metadata") |
| 10 | alias(libs.plugins.ksp) |
| 11 | } |
| 12 | |
| 13 | launcherIcon { |
| 14 | symbol = "apps" |
| 15 | } |
| 16 | |
| 17 | // Google TV hardware runs a 32-bit userspace: an arm64-only APK is rejected at install. |
| 18 | nativeAbis { |
| 19 | armv7 = true |
| 20 | } |
| 21 | |
| 22 | android { |
| 23 | defaultConfig { |
| 24 | applicationId = "com.vayunmathur.launcher" |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | dependencies { |
| 29 | implementRoom(libs) |
| 30 | implementation(project(":library:room")) |
| 31 | implementation(libs.androidx.datastore.preferences) |
| 32 | // Declared rather than relied on transitively: a launcher is mostly motion, so `Animatable`, |
| 33 | // `animateBounds` and the animation specs are load-bearing here rather than incidental. |
| 34 | implementation(libs.androidx.compose.animation) |
| 35 | } |