gradle.properties 1.6 KB

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