F-113: cover all Android first-party libraries with usage examples - #223
Merged
Conversation
Close progressive-ladder gaps for library-like Android targets: - Matrix: androidUtil/app/binary may depend on native; native stays a leaf - Widen testDependencies/androidTestDependencies to FormaDependency so first-party project targets work on instrumented/unit test classpaths - 09: real androidTestUtil usage via AdderAndroidTest + AndroidChecks - 13: androidNative CMake + JNI androidUtil façade + Activity usage - Docs/skills/matrix/README aligned; TICKETS F-113 done Verified: plugins :android:test + jacocoHappyPath; 09 assemble/unit/ assembleDebugAndroidTest; 13 assembleDebug (NDK 28.2 + CMake 3.22.1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes progressive-ladder gaps so every Android first-party library-like target has a real usage example (not docs-only / empty modules).
Gaps fixed
androidTestUtil— declared in09but never consumed → instrumentedAdderAndroidTestusesAndroidChecksviaandroidTestDependenciesandroidNative— docs-only and unconsumable (no matrix edges) → newexamples/android/13-android-native(CMake + JNIandroidUtilfaçade + Activity)testDependencies/androidTestDependenciestyped asNamedDependency→ widened toFormaDependencyso first-party project targets workEngine
androidUtil/androidApp/androidBinary→native; native stays a leafAndroidTargetRegistryKmpEdgesTestDocs
DEPENDENCY-MATRIX, PROGRESSIVE-EXAMPLES, CALL-SITE-SURFACE, README, agent skill coverage table, TICKETS F-113 done
Verify (host)
plugins/:./gradlew :android:test jacocoHappyPathCoverageVerification✅examples/android/09-test-utils: assembleDebug + testDebugUnitTest + assembleDebugAndroidTest ✅examples/android/13-android-native: assembleDebug (NDK 28.2 + CMake 3.22.1) ✅Note
AGP rejects namespaces ending with Java keyword
native— packageName uses….ndkwhile project suffix staysnative.