Skip to content

Commit e0010ca

Browse files
committed
feat: AAB 용량 최적화 (ABI 필터링, 미사용 폰트 제거, 스플래시 WebP 변환)
- ndk abiFilters를 arm64-v8a, armeabi-v7a로 제한 (x86/x86_64 에뮬레이터 전용 ABI 제거) - 미사용 Pretendard 폰트 5개 제거 (thin, extralight, light, extrabold, black) - 스플래시 PNG를 WebP로 변환 (1.2MB → 103KB) - AAB 용량: 54.5MB → 27.4MB (49.6% 감소, 난독화 포함 누적)
1 parent e6c60cd commit e0010ca

18 files changed

Lines changed: 4 additions & 32 deletions

File tree

app/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ android {
2727
versionName libs.versions.versionName.get()
2828

2929
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
30+
31+
ndk {
32+
abiFilters 'arm64-v8a', 'armeabi-v7a'
33+
}
3034
buildConfigField "String", "RUNNECT_DEV_URL", properties["RUNNECT_DEV_URL"]
3135
buildConfigField "String", "RUNNECT_NODE_URL", properties["RUNNECT_NODE_URL"]
3236
buildConfigField "String", "RUNNECT_PROD_URL", properties["RUNNECT_PROD_URL"]

app/src/main/java/com/runnect/runnect/presentation/ui/theme/Type.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,10 @@ import androidx.compose.ui.unit.sp
1111
import com.runnect.runnect.R
1212

1313
val PretendardFontFamily = FontFamily(
14-
Font(R.font.pretendard_thin, FontWeight.Thin),
15-
Font(R.font.pretendard_extralight, FontWeight.ExtraLight),
16-
Font(R.font.pretendard_light, FontWeight.Light),
1714
Font(R.font.pretendard_regular, FontWeight.Normal),
1815
Font(R.font.pretendard_medium, FontWeight.Medium),
1916
Font(R.font.pretendard_semibold, FontWeight.SemiBold),
2017
Font(R.font.pretendard_bold, FontWeight.Bold),
21-
Font(R.font.pretendard_extrabold, FontWeight.ExtraBold),
22-
Font(R.font.pretendard_black, FontWeight.Black),
2318
)
2419

2520
@Immutable
-76.5 KB
Binary file not shown.
12.3 KB
Loading
-44.7 KB
Binary file not shown.
7.52 KB
Loading
-135 KB
Binary file not shown.
17.5 KB
Loading
-307 KB
Binary file not shown.
28 KB
Loading

0 commit comments

Comments
 (0)