Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / locationprovider / AGENTS.md
| 1 | # AGENTS.md — library/locationprovider/ (':library:locationprovider') |
| 2 | |
| 3 | > Scoped supplement. Global rules in root `AGENTS.md` apply. Stay inside `library/locationprovider/` + allowed shared modules. Do not root-scan. |
| 4 | |
| 5 | - Gradle: :library:locationprovider / dir: library/locationprovider/ |
| 6 | - Package roots present: provider |
| 7 | - Entry files: (see sources — location abstraction consumed by networklocation + apps) |
| 8 | - Deps: (verify in build.gradle.kts before adding) |
| 9 | - Metadata: metadata_data/library-locationprovider.md (absent — libraries have none by design) |
| 10 | - Rust: no / screenshotTest: no |
| 11 | |
| 12 | ## Overview |
| 13 | **Purpose:** Location abstraction over GPS/network providers — the interface `networklocation/` implements and apps consume, so location callers never touch providers directly. |
| 14 | **How to use:** Depend on the abstraction, not the implementation; `networklocation/` is the system-backed provider. |
| 15 | **Entry points:** Read the `provider/` sources first (add key files from `ls` when touching this module). |
| 16 | **Gotchas:** Verify coverage against `ls` before trusting this card. |
| 17 | |
| 18 | ## Key files |
| 19 | - (No key files listed — verify via scoped `ls` when touching this module.) |
| 20 | |
| 21 | ## Verify (this module only) |
| 22 | ``` |
| 23 | ./gradlew :library:locationprovider:compileDevKotlin |
| 24 | ./gradlew :library:locationprovider:lint |
| 25 | ``` |