build: Task 21 완료 - :core:core-database 모듈 분리 및 Realm 모델/WorkersDb 격리
- core/core-database 모듈 신규 생성 (namespace: bums.lunatic.launcher.core.database, io.realm.kotlin 플러그인/의존성 격리): * app/src/main/kotlin/.../model/* (UI 헬퍼 WeatherInfoManager, RssDataTypeUiExt 제외) 및 model/others/* 이동 * WorkersDb.kt, CustMigration, RecentCallGetter.kt 이동 및 BuildConfig.BuildDateTime 직접 참조를 WorkersDb.schemaVersion 프로퍼티로 디커플링 * HistoryManager.kt에서 Realm 모델 5종(LastInfo, HistoryItem, ReaderConfig, ContentsCollection, ContentsPageInfo)을 TokizModels.kt로 분리 이동 - RssDataInterface.kt 디커플링: * R.drawable 참조(getResId)를 :app의 RssDataTypeUiExt.kt로 분리 (RssItemAdapter.kt에 import 추가) * PrefHelper 직접 참조를 RssDataType.enabledChecker 람다 주입으로 분리하고 LunaticLauncher.onCreate()에서 바인딩 - settings.gradle.kts, app/build.gradle.kts, ARCHITECTURE.md, TODO.md 갱신 (6-1 완료) - 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (7s, 85 actionable tasks)
This commit is contained in:
@@ -182,7 +182,7 @@ lunar_launcher/
|
||||
```
|
||||
|
||||
#### 단계별 모듈화 실행 순서
|
||||
- [x] **6-1. `:core:common`, `:core:network`, `:core:database` 분리** (`:core:core-common`, `:core:core-network` 생성 및 `NetworkClient`·`MlKitTranslationHelper` 이동 완료; `:core:database`는 후속 진행)
|
||||
- [x] **6-1. `:core:common`, `:core:network`, `:core:database` 분리** (`:core:core-common`, `:core:core-database`, `:core:core-network` 모두 분리 완료)
|
||||
- [x] **6-2. 독립 기능 우선 분리 (`:feature:torrent`, `:feature:wallpaper`)** (`:feature:feature-torrent` 분리 및 `jlibtorrent` JAR 격리 완료; `:feature:wallpaper`는 후속 진행)
|
||||
- [ ] **6-3. 뷰어/리더 분리 (`:feature:player`, `:feature:reader`)**: `PlayerActivity`/`NativePlayer`(+ `PlayerEngine.cpp`)와 `DocumentViewerActivity`/`ImageViewerActivity`, `TokiFragment`/`WebReaderActivity`를 분리.
|
||||
- [ ] **6-4. 피드/수집기 분리 (`:feature:feeds`)**: `RssHome`, `NeoRssActivity`, `TaskAggregator`, `*Getter`군을 분리하고 `:app`은 런처 홈과 서비스 진입점만 유지.
|
||||
|
||||
Reference in New Issue
Block a user