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:
2026-11-16 13:22:22 +09:00
parent 7ce291c2b7
commit 2ca69a685e
32 changed files with 336 additions and 288 deletions
+30
View File
@@ -0,0 +1,30 @@
plugins {
id("com.android.library")
id("kotlin-android")
id("io.realm.kotlin")
}
android {
namespace = "bums.lunatic.launcher.core.database"
compileSdk = 35
defaultConfig {
minSdk = 26
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
implementation(project(":core:core-common"))
api("io.realm.kotlin:library-base:2.0.0")
implementation("org.jsoup:jsoup:1.21.2")
implementation("com.google.code.gson:gson:2.13.1")
}