| 1234567891011121314151617181920212223242526272829303132 |
- # Project-wide Gradle settings.
- # IDE (e.g. Android Studio) users:
- # Gradle settings configured through the IDE *will override*
- # any settings specified in this file.
- # For more details on how to configure your build environment visit
- # http://www.gradle.org/docs/current/userguide/build_environment.html
- # Specifies the JVM arguments used for the daemon process.
- # The setting is particularly useful for tweaking memory settings.
- org.gradle.jvmargs=-Xmx1536m
- # When configured, Gradle will run in incubating parallel mode.
- # This option should only be used with decoupled projects. More details, visit
- # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
- # org.gradle.parallel=true
- # AndroidX package structure to make it clearer which packages are bundled with the
- # Android operating system, and which are packaged with your app's APK
- # https://developer.android.com/topic/libraries/support-library/androidx-rn
- android.useAndroidX=true
- # 极光推送(2026-11-21):默认关闭,构建时传 -PfmodeJpushEnabled=true 打开。
- # AppKey 走环境变量 JPUSH_APPKEY(构建命令里 export),不入 git。
- fmodeJpushEnabled=false
- # 厂商通道(华为/小米/OPPO/vivo):需先申请到厂商凭据并打包对应 AAR,
- # 否则开启会在 SDK 初始化阶段崩溃。操作见 docs/03-interface/厂商通道-接入操作单.md
- # 🔴 build.gradle 读的是**环境变量**(不是 -P),构建前 export:
- # export FMODE_VENDOR_PUSH=true
- # 各厂商 AppID/AppKey 同样走环境变量(XIAOMI_APPID / HUAWEI_APPID / ...)
|