This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: cinterop klib tracks static-archive content (v4.15.4)

v4.15.3's klib was byte-identical to v4.15.2 despite the .m-file edit:
the cinteropMlkitAccurate* Gradle tasks only watched the .def file, and
since the .def content stayed the same (same paths, just new .a content
inside them), the cinterop cache wasn't invalidated and the old klib
was republished verbatim.

Fix: declare mlkitArchivesDir + mlkitRedirectDir as explicit inputs on
the cinterop tasks, so any change to libMLKit*.a / libMLKitRedirect.a
forces cinterop to rebuild and Maven to republish.

v4.15.4 iosarm64 cinterop klib: 11612790 bytes (was 11611236 in 4.15.3) —
delta matches the three new CCT-telemetry stubs from 4.15.3's .m changes
that didn't land. Verified with `nm` on the published klib's embedded
libMLKitRedirect.a — __pd_mlkit_noop_writelog, __pd_mlkit_compute_url,
and __pd_install_clearcut_stub are all present.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+8 -1
+8 -1
posedetection/build.gradle.kts
··· 4 4 5 5 mavenPublishing { 6 6 publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) 7 - coordinates("com.performancecoachlab.posedetection", "posedetection-compose", "4.15.3") 7 + coordinates("com.performancecoachlab.posedetection", "posedetection-compose", "4.15.4") 8 8 9 9 pom { 10 10 name.set("Pose Detection") ··· 280 280 281 281 tasks.matching { it.name.startsWith("cinteropMlkitAccurate") }.configureEach { 282 282 dependsOn(generateMlkitDefFile) 283 + // Cinterop's up-to-date check only watches its .def file — a content 284 + // change in the static archives (e.g. libMLKitRedirect.a after an .m 285 + // edit) won't invalidate the produced klib. Declare the archive dirs 286 + // as explicit inputs so any rebuilt .a forces cinterop + downstream 287 + // klib + publish to re-run. 288 + inputs.dir(mlkitArchivesDir) 289 + inputs.dir(mlkitRedirectDir) 283 290 }