From 244d3cee1430c30e33bd0c412a9c14d4b9e36f5b Mon Sep 17 00:00:00 2001 From: lunaticbum Date: Mon, 16 Nov 2026 11:11:08 +0900 Subject: [PATCH] =?UTF-8?q?build:=20Task=203=20=EC=99=84=EB=A3=8C=20-=20?= =?UTF-8?q?=EB=AF=B8=EC=82=AC=EC=9A=A9=20OkHttp=202.x=20=EB=B0=8F=20?= =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=EC=9D=98=EC=A1=B4=EC=84=B1=20=EC=A0=95?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - app/build.gradle.kts: 전체 소스에서 com.squareup.okhttp.* 사용처가 없음을 검증 후 레거시 com.squareup.okhttp:okhttp:2.7.5 의존성 제거 - app/build.gradle.kts: 주석 처리되어 있던 ffmpeg-kit-full, :sdk, providers-android, androidx.window, hanguleditor, concurrent-listenablefuture-ktx 의존성 라인 정리 - TODO.md: 5-3 항목 완료 처리 - 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (4s) --- TODO.md | 2 +- app/build.gradle.kts | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/TODO.md b/TODO.md index bd9a25ef..643cdbc3 100644 --- a/TODO.md +++ b/TODO.md @@ -153,7 +153,7 @@ - 루트 디렉토리의 `ffmpeg-kit-main/` 소스 폴더와 `app/libs/ffmpeg-kit-full-6.0-2.LTS.aar`, `app/src/main/jniLibs/arm64-v8a/` 간 빌드 의존성 확인 필요 (`app/build.gradle.kts:201-205`의 주석 처리된 ffmpeg-kit 의존성 포함). - **작업**: 미사용 모듈/아카이브를 정리해 Gradle Sync 및 저장소 크기 최적화. -- [ ] **5-3. `app/build.gradle.kts` 구버전/중복 라이브러리 정리** +- [x] **5-3. `app/build.gradle.kts` 구버전/중복 라이브러리 정리** (구버전 `okhttp:2.7.5` 및 주석 의존성 제거 완료; 이미지 로더 단일화는 추후 검토) - `app/build.gradle.kts:158` — 레거시 `com.squareup.okhttp:okhttp:2.7.5`가 `okhttp3`/`retrofit2`와 함께 선언되어 있음. - `app/build.gradle.kts:165, 169-170, 187-188` — 이미지 로더가 `Picasso`, `Glide`, `Coil` 3종이 모두 혼재되어 있음. - **작업**: 실제 사용처 전수 조사 후 `okhttp 2.x` 제거 및 이미지 로더(예: `Coil` 또는 `Glide` 단일화) 단계적 통합. diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ca41c37c..c2b1a395 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -155,7 +155,6 @@ dependencies { implementation ("io.realm.kotlin:library-base:${realmVersion}") implementation ("org.jsoup:jsoup:1.21.2") implementation ("org.apache.commons:commons-text:1.14.0") - implementation("com.squareup.okhttp:okhttp:2.7.5") implementation("com.google.android.gms:play-services-location:21.3.0") implementation("com.google.android.gms:play-services-tasks:18.3.2") implementation("com.squareup.retrofit2:retrofit:3.0.0") @@ -196,22 +195,7 @@ dependencies { -// implementation ("com.arthenica:ffmpeg-kit-full:4.5.LTS") -// implementation ("com.arthenica:ffmpeg-kit-full:6.0-2") - -// implementation(files("libs/ffmpeg-kit-full-6.0-2.LTS.aar")) -// implementation("com.arthenica:ffmpeg-kit-full-gpl:5.1") - - implementation ("androidx.media:media:1.7.0") -// implementation(project(":sdk")) -// implementation ("me.everything:providers-android:1.0.1") -// implementation ("me.everything:providers-core:1.0.1") -// implementation ("androidx.window:window:1.0.0") -// implementation("io.github.vaneproject:hanguleditor:1.0.0") - - -// implementation ("androidx.concurrent:concurrent-listenablefuture-ktx:1.1.0") implementation ("com.google.guava:guava:33.2.1-jre") val camerax_version = "1.3.0" // 안정적인 최신 버전 사용