PatilShreyas / compose-report-to-html

A utility (Gradle Plugin + CLI) to convert Jetpack Compose compiler metrics and reports to beautified HTML page.
https://patilshreyas.github.io/compose-report-to-html/
MIT License
383 stars 9 forks source link

Print file paths as file URIs #32

Closed eygraber closed 1 year ago

eygraber commented 1 year ago

The current output of running the Gradle task is:

Checking directory '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw'
Checking file '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw/android-app_release-module.json'
Checking file '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw/android-app_release-composables.csv'
Checking file '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw/android-app_release-composables.txt'
Checking file '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw/android-app_release-classes.txt'
Compose Compiler report is generated: /home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/index.html

If a file:// URI is used I believe the IDE will linkify them so it could be opened in the browser.

PatilShreyas commented 1 year ago

Thanks for the suggestion @eygraber. Will definitely add this

PatilShreyas commented 1 year ago

Thanks, @eygraber for suggesting this improvement. This has been released in v1.0.0