4 Commits

Author SHA1 Message Date
xfy
22464d9ca6 build: 优化 APK 打包与 AAB 分包配置
排除冗余的 META-INF 许可证与 Kotlin 元数据资源,挑选首次出现的 INDEX.LIST,避免合并冲突;启用按语言、密度、ABI 拆分的 App Bundle。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 13:41:51 +08:00
xfy
ba742f1597 build: 启用 R8 压缩与资源优化,添加 ProGuard 规则
- androidApp: 启用 isMinifyEnabled 和 isShrinkResources
- androidApp: ABI 过滤(arm64-v8a, armeabi-v7a),关闭 buildConfig
- gradle.properties: 启用并行构建、守护进程、R8 fullMode
- 新建 proguard-rules.pro 保留 KMP/Compose/kotlinx.datetime 规则

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 07:42:29 +08:00
xfy
73d42902ea Update targetSdk to 37, Gradle to 9.5.1, coroutines-test to 1.11.0, and move launcher icon out of drawable-v24
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 16:07:48 +08:00
xfy
07f6b779c6 Refactor KMP project structure for AGP 9.0 compatibility
Split composeApp into shared (KMP library) and androidApp (Android application)
modules to resolve KMP + AGP 9.0 incompatibility. Remove deprecated gradle
properties and add performance optimization settings.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:47:26 +08:00