Repository navigation
Commit b50eb6f
committed
fix(build): expose kotlinx-coroutines to consumers
SamsungHealthObserver.observe returns a Flow, but kotlinx-coroutines-android
was an implementation dependency, published with runtime scope, so apps
couldn't compile calls to observe(). A probe module depending only on the
published library found it, and JitPack's POM for 18b2246 confirms the
runtime scope.
Changes:
- library/build.gradle.kts: kotlinx-coroutines-android as api
Tests: the published POM lists kotlinx-coroutines-android with compile scope;
a consumer module without the Samsung SDK now compiles read, aggregate,
insert, requestPermissions and observe calls; 67 unit tests, apiCheck and
ktlint green.1 parent 1414789 commit b50eb6f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments