build: :core:core-utils 모듈 분리 및 유틸성 클래스 17종 이관
- core/core-utils 모듈 신규 생성 (namespace: bums.lunatic.launcher.core.utils): * AlphabetToChosungMap, APILevel, BitmapConverter, CategoryManualMapper, CommonUtils, CompressStringUtil, EnToKo, FileUtils, HashUtils, ImageUtils, JsoupUtils, KoreanTrans, MediaBitmapUtil, PlayCategory, PreferencesUtil, RssList, StringEscapeUtils 총 17종 이관 * (@GlideModule 어노테이션 프로세서 제약이 있는 CustomOkHttpGlideModule.kt만 :app에 유지) - settings.gradle.kts, app/build.gradle.kts, ARCHITECTURE.md 갱신 - 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (11s, 133 actionable tasks)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
| `:core:core-common` | 공통 로거(`Blog`), 유틸(`JamoUtils`, `DataUtils`), ML Kit 헬퍼(`MlKitTranslationHelper`) | `:app`, `:core:core-database`, `:feature:*`에서 참조 |
|
||||
| `:core:core-database` | Realm Kotlin 모델(`model/*`, `TokizModels`, `RecentCall`), `WorkersDb`, `CustMigration` | `io.realm.kotlin` api 노출 |
|
||||
| `:core:core-network` | 공용 `OkHttpClient` 싱글톤(`NetworkClient`) | OkHttp3 커넥션 풀 공유 |
|
||||
| `:core:core-utils` | 파일/이미지/인코딩/Jsoup/한글변환/설정/카테고리 유틸리티 17종 | `:core:core-common`, `:core:core-network` 의존 |
|
||||
| `:feature:feature-player` | `NativePlayer`, `PageIndexer`, `ImageViewerActivity` 미디어/이미지 뷰어 코어 | `PhotoView`, `ExifInterface`, `Glide` |
|
||||
| `:feature:feature-reader` | `WebReaderActivity`, `PagedTextLayout`, `TouchArea` 리더 코어 | `:core:core-common` 의존 |
|
||||
| `:feature:feature-torrent` | `TorrentService`/`TorrentTask` 및 `jlibtorrent` JAR 격리 모듈 | `:core:core-common` 의존 |
|
||||
|
||||
@@ -138,6 +138,7 @@ dependencies {
|
||||
implementation(project(":core:core-common"))
|
||||
implementation(project(":core:core-database"))
|
||||
implementation(project(":core:core-network"))
|
||||
implementation(project(":core:core-utils"))
|
||||
implementation(project(":feature:feature-player"))
|
||||
implementation(project(":feature:feature-reader"))
|
||||
implementation(project(":feature:feature-torrent"))
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
id("kotlin-android")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "bums.lunatic.launcher.core.utils"
|
||||
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"))
|
||||
implementation(project(":core:core-network"))
|
||||
implementation("androidx.appcompat:appcompat:1.7.1")
|
||||
implementation("androidx.core:core-ktx:1.15.0")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
|
||||
implementation("org.jsoup:jsoup:1.21.2")
|
||||
implementation("com.googlecode.juniversalchardet:juniversalchardet:1.0.3")
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest />
|
||||
@@ -26,6 +26,7 @@ include ("app")
|
||||
include(":core:core-common")
|
||||
include(":core:core-database")
|
||||
include(":core:core-network")
|
||||
include(":core:core-utils")
|
||||
include(":feature:feature-player")
|
||||
include(":feature:feature-reader")
|
||||
include(":feature:feature-torrent")
|
||||
|
||||
Reference in New Issue
Block a user