Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions compose-stability.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Consider kotlin collections stable
kotlin.collections.*

// Consider kotlinx.datetime models stable
kotlinx.datetime.DayOfWeek
kotlinx.datetime.Instant
kotlinx.datetime.LocalDate
kotlinx.datetime.LocalDateTime
kotlinx.datetime.LocalTime
kotlinx.datetime.TimeZone
kotlin.time.Duration

kotlinx.coroutines.CoroutineScope

coil3.compose.AsyncImagePainter.State
6 changes: 5 additions & 1 deletion shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,13 @@ val buildWebApp by tasks.creating(Copy::class) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

// Hot reload support
composeCompiler {
// Hot reload support
featureFlags.add(ComposeFeatureFlag.OptimizeNonSkippingGroups)
reportsDestination = layout.buildDirectory.dir("compose_build_reports")
stabilityConfigurationFiles.addAll(
rootProject.layout.projectDirectory.file("compose-stability.conf"),
)
}

aboutLibraries {
Expand Down
6 changes: 5 additions & 1 deletion ui-components-gallery/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ dependencies {
debugImplementation(compose.uiTooling)
}

// Hot reload support
composeCompiler {
// Hot reload support
featureFlags.add(ComposeFeatureFlag.OptimizeNonSkippingGroups)
reportsDestination = layout.buildDirectory.dir("compose_build_reports")
stabilityConfigurationFiles.addAll(
rootProject.layout.projectDirectory.file("compose-stability.conf"),
)
}
4 changes: 4 additions & 0 deletions ui-components/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ android {
// Hot reload support
composeCompiler {
featureFlags.add(ComposeFeatureFlag.OptimizeNonSkippingGroups)
reportsDestination = layout.buildDirectory.dir("compose_build_reports")
stabilityConfigurationFiles.addAll(
rootProject.layout.projectDirectory.file("compose-stability.conf"),
)
}

compose.resources {
Expand Down