feat: blueprint report — KSP processor + Gradle plugin + HTML report#8
Open
keymusicman wants to merge 4 commits into
Open
feat: blueprint report — KSP processor + Gradle plugin + HTML report#8keymusicman wants to merge 4 commits into
keymusicman wants to merge 4 commits into
Conversation
Contributor
Author
|
@GusWard I haven’t prepared the KSP module and Gradle plugin for publishing yet. Let me know if you want me to do it, or if you’ll handle it on your side |
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
Adds an end-to-end blueprint report pipeline as two new Gradle modules:
@Previewcomposables, collectswidthDp/heightDp/name/groupparameters, and emits ablueprint-manifest.jsonper package. Also generates__Blueprint_wrapper composables used by the renderer.blueprintCapture— invokes the compose-preview-renderer and Robolectric fallback to screenshot each preview; respectsbackgroundAlpha,contentAlpha,widthDp,heightDp, and DPI from the DSL/manifest.blueprintReport— consumes captured images and the manifest to produce a self-contained HTML report grouped by package, with a resizable sidebar, package filter, and function-name display for named previews.How to run
Execute
./gradlew :example:blueprintReportto generate the report for the example module. The report will be in theexample/build/reports/blueprint/blueprint-report.html