7 Commits

Author SHA1 Message Date
xfy
fa872caa59 docs: 版本号统一由 gradle.properties 管理,更新发布流程文档 2026-06-02 14:15:07 +08:00
xfy
a0b1b4b569 feat: 支持动态版本号生成与读取
- build.gradle.kts 根据 baseVersion + git hash + buildDate 生成 versionName
- gradle.properties 添加 app.version.base=1.0.0
- 新增 expect/actual getAppVersion(),Android 从 PackageInfo 读取,iOS 从 NSBundle 读取
- AboutScreen 使用 getAppVersion() 替代硬编码 AppInfo.VERSION

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 01:11:12 +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
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
xfy
758cd9947f Remove foojay plugin and use local JDK for Gradle toolchain
Remove foojay-resolver-convention plugin to avoid downloading JDK from
foojay.io. Simplify gradle-daemon-jvm.properties to only specify
toolchainVersion=21. Upgrade JVM target from 11 to 17 in composeApp.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 10:52:29 +08:00
xfy
f45342f4ea Upgrade AGP to 9.2.1 and Gradle to 9.4.1, add Android build properties
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 10:27:30 +08:00
xfy
3b564cb29a Initial commit: Kotlin Multiplatform project setup
Configure Compose Multiplatform targeting Android and iOS with Gradle build system.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 10:27:30 +08:00