build(room): KSP room.schemaLocation 설정 및 exportSchema=true로 스키마 export 활성화

프로젝트가 이미 KSP를 사용하고 있어 KSP 인수 기반으로 Room 스키마 export를 활성화했습니다.
- app/build.gradle: ksp { room.schemaLocation 등 } 추가
- Room DB 클래스 3종: exportSchema=true
- app/schemas 디렉터리 버전 관리
This commit is contained in:
2025-10-22 19:19:31 +09:00
parent 7ff3d7f1e5
commit 23c05b91d5
10 changed files with 233 additions and 8 deletions

View File

@@ -214,3 +214,11 @@ dependencies {
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.3.1'
testImplementation 'io.mockk:mockk:1.13.10'
}
// KSP args for Room schema export
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
arg("room.incremental", "true")
arg("room.expandProjection", "true")
}