Commit Graph
4 Commits
Author SHA1 Message Date
lun_admin 2ca69a685e 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)
2026-11-16 13:22:22 +09:00
lun_admin 7ce291c2b7 refactor: :core:core-common에 순수 유틸리티/확장함수(JamoUtils, SimpleTransliterater, DataUtils, typeAlias) 이동
- :core:core-database 분리를 위한 선행 작업으로 :app 비의존 유틸리티 4종을 :core:core-common으로 이동:
  * utils/JamoUtils.kt
  * utils/SimpleTransliterater.kt
  * utils/DataUtils.kt
  * common/typeAlias.kt
- 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (6s)
2026-11-16 13:18:50 +09:00
lun_admin 1ff26530e3 build: Task 20 완료 - Blog 코어 이동 및 :feature:feature-torrent 모듈 분리
- core/core-common: buildConfig 활성화 및 Blog.kt를 :app에서 :core:core-common으로 이동
- feature/feature-torrent 모듈 신규 생성 (namespace: bums.lunatic.launcher.feature.torrent):
  * TorrentManager.kt(TorrentService, TorrentTask)를 :app에서 :feature:feature-torrent로 이동
  * jlibtorrent-2.0.12.7.jar 및 ABI별 jlibtorrent-android-*.jar 5종을 feature/feature-torrent/libs/로 격리 및 api 노출
- settings.gradle.kts & app/build.gradle.kts: :feature:feature-torrent 모듈 등록 및 :app 의존성 연결
- TODO.md: 6-2(:feature:torrent 분리) 진행 내역 반영
- 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (18s, 73 actionable tasks)
2026-11-16 13:16:50 +09:00
lun_admin f23cc1aa05 build: Task 19 완료 - :core:core-common 및 :core:core-network 모듈 분리
- core/core-common 모듈 신규 생성 (namespace: bums.lunatic.launcher.core.common):
  * MlKitTranslationHelper.kt를 :app에서 :core:core-common으로 이동
- core/core-network 모듈 신규 생성 (namespace: bums.lunatic.launcher.core.network):
  * NetworkClient.kt를 :app에서 :core:core-network로 이동 (OkHttp3 api 의존성 노출)
- settings.gradle.kts & app/build.gradle.kts: :core:core-common, :core:core-network 모듈 등록 및 :app 의존성 연결
- TODO.md: 6-1(코어 공통/네트워크 분리) 진행 내역 반영
- 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (13s, 59 actionable tasks)
2026-11-16 13:15:24 +09:00