Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / image / build.gradle.kts
build.gradle.kts23 lines · 893 BRaw
| 1 | plugins { |
| 2 | id("common-conventions-library") |
| 3 | } |
| 4 | |
| 5 | dependencies { |
| 6 | // Permission-free by design: no project deps. HTTP(S) image fetching is |
| 7 | // opted into per call site via ImageLoader.Builder.remote(), with the fetch |
| 8 | // function built from NetworkClient in the consuming app — so this module |
| 9 | // declares no INTERNET and offline consumers gain no network permission |
| 10 | // from it (#884). |
| 11 | |
| 12 | // Coroutines |
| 13 | implementation(libs.kotlinx.coroutines.android) |
| 14 | |
| 15 | // SVG rendering is now internal via Android stdlib (Canvas/Path/Paint/XmlPullParser) – no third-party |
| 16 | |
| 17 | // Foundation needed for Image composable in AsyncImage |
| 18 | implementation(libs.androidx.compose.foundation) |
| 19 | |
| 20 | // EXIF orientation for the BitmapFactory fallback (already in the |
| 21 | // version catalog, used by photos/camera; no new third-party dep). |
| 22 | implementation(libs.androidx.exifinterface) |
| 23 | } |