Skip to content

Commit 819c4b5

Browse files
committed
[BOOK-434] fix: stability.config.conf 파일 생성 및 루트 프로젝트 위치를 바라보도록 수정
1 parent e998355 commit 819c4b5

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

build-logic/src/main/kotlin/com/ninecraft/booket/convention/Compose.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal fun Project.configureCompose(
2525
reportsDestination.file("build/composeReports")
2626

2727
stabilityConfigurationFiles.addAll(
28-
project.layout.projectDirectory.file("stability.config.conf"),
28+
project.rootProject.layout.projectDirectory.file("stability.config.conf"),
2929
)
3030
}
3131

stability.config.conf

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// Stability Configuration for Reed-Android
2+
// This file declares classes that should be considered stable by the Compose Compiler
3+
// https://developer.android.com/develop/ui/compose/performance/stability/fix#configuration-file
4+
5+
// Kotlin standard library
6+
kotlin.Pair
7+
kotlin.Triple
8+
kotlin.Result
9+
10+
// Kotlinx collections
11+
kotlinx.collections.immutable.*
12+
13+
// Kotlinx coroutines
14+
kotlinx.coroutines.flow.StateFlow
15+
kotlinx.coroutines.flow.Flow
16+
kotlinx.coroutines.flow.MutableStateFlow
17+
kotlinx.coroutines.flow.SharedFlow
18+
kotlinx.coroutines.flow.MutableSharedFlow
19+
20+
// Project model classes
21+
com.ninecraft.booket.core.model.*
22+
com.ninecraft.booket.core.domain.model.*
23+
24+
// Circuit
25+
com.slack.circuit.runtime.CircuitUiState
26+
com.slack.circuit.runtime.CircuitUiEvent
27+
28+
// Android architecture components
29+
androidx.lifecycle.LiveData
30+
androidx.lifecycle.MutableLiveData
31+
androidx.compose.runtime.State
32+
androidx.compose.runtime.MutableState

0 commit comments

Comments
 (0)