- 更新应用名称为「暖记」(AndroidManifest + strings.xml) - 添加必要权限: INTERNET, CAMERA, READ_MEDIA_IMAGES, READ_EXTERNAL_STORAGE - 生成 release 签名密钥 (RSA 2048, 10000 天有效期) - 配置 ProGuard/R8 代码混淆 + 资源压缩 - 品牌化启动页: 奶油白背景 + 珊瑚色圆形「暖」字 logo - 品牌化应用图标: 各密度 mipmap (mdpi~xxxhdpi) - 添加阿里云 Maven 镜像加速依赖下载 - AGP 9.x 兼容: 自动为旧 Flutter 插件注入 namespace - Gradle 性能优化: 并行编译 + 构建缓存
12 lines
470 B
Properties
12 lines
470 B
Properties
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
|
||
android.useAndroidX=true
|
||
# This newDsl flag was added by the Flutter template
|
||
android.newDsl=false
|
||
# This builtInKotlin flag was added by the Flutter template
|
||
android.builtInKotlin=false
|
||
# 构建性能优化
|
||
org.gradle.parallel=true
|
||
org.gradle.caching=true
|
||
# 暂不启用 configuration-cache(与 init 脚本冲突)
|
||
# org.gradle.configuration-cache=true
|