Files
AndroidJetpack/NotyKT/docs/pages/noty-android/compose-compiler-metrics-and-report.md
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

1.3 KiB

📊 Compose compiler Metrics and Reports

NotyKT uses a Gradle Plugin PatilShreyas/compose-report-to-html for generating Compose compiler metrics and report to understand the flaws in the Jetpack Compose's implementation.

▶️ BROWSE CURRENT REPORT ◀️

How to use?

Refer to this pull request to understand the change needed in the project and CI integration for generating and publishing compose compiler report.

  • In the root project level build.gradle, add classpath for plugin:
buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.shreyaspatil.compose-compiler-report-generator:gradle-plugin:$latestVersion"
  }
}
  • Apply the plugin in which Jetpack compose is enabled.
apply plugin: "dev.shreyaspatil.compose-compiler-report-generator"

android {
    ...
}

htmlComposeCompilerReport {
    name = "NotyKT
}

Follow the steps mentioned here to use the plugin in the project.