- 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>
23 lines
542 B
Properties
23 lines
542 B
Properties
#Kotlin
|
|
kotlin.code.style=official
|
|
kotlin.daemon.jvmargs=-Xmx3072M
|
|
|
|
#Gradle
|
|
org.gradle.jvmargs=-Xmx4096M -Dfile.encoding=UTF-8
|
|
org.gradle.configuration-cache=true
|
|
org.gradle.caching=true
|
|
org.gradle.parallel=true
|
|
org.gradle.daemon=true
|
|
|
|
#App
|
|
app.version.base=1.0.0
|
|
|
|
#Android
|
|
android.nonTransitiveRClass=true
|
|
android.useAndroidX=true
|
|
android.uniquePackageNames=false
|
|
android.dependency.useConstraints=true
|
|
android.r8.strictFullModeForKeepRules=true
|
|
android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false
|
|
android.enableR8.fullMode=true
|