Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created November 9, 2025 07:37
Show Gist options
  • Select an option

  • Save skydoves/9e95df2ddfeb6798921ebf754c3c42d7 to your computer and use it in GitHub Desktop.

Select an option

Save skydoves/9e95df2ddfeb6798921ebf754c3c42d7 to your computer and use it in GitHub Desktop.
settings
// In your build.gradle.kts
composeStabilityAnalyzer {
stabilityValidation {
enabled.set(true)
outputDir.set(layout.projectDirectory.dir("stability"))
includeTests.set(false) // Exclude test code
// Ignore specific packages
ignoredPackages.set(listOf("com.example.internal"))
// Ignore specific classes (e.g., previews)
ignoredClasses.set(listOf("PreviewComposables"))
// Ignore entire modules
ignoredProjects.set(listOf("benchmarks", "examples"))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment