gradle.properties 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
  10. org.gradle.jvmargs=-Xmx5120m -XX:MaxMetaspaceSize=512m
  11. # When configured, Gradle will run in incubating parallel mode.
  12. # This option should only be used with decoupled projects. More details, visit
  13. # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  14. # org.gradle.parallel=true
  15. # AndroidX package structure to make it clearer which packages are bundled with the
  16. # Android operating system, and which are packaged with your app's APK
  17. # https://developer.android.com/topic/libraries/support-library/androidx-rn
  18. android.useAndroidX=true
  19. android.enableJetifier=false
  20. # 强制 AAB 打包工具在处理原生库时使用 16KB 对齐逻辑
  21. android.useLegacyPackaging=false
  22. android.bundle.enableUncompressedNativeLibs=true
  23. android.bundle.enableResourceOptimizations=false
  24. # Use this property to specify which architecture you want to build.
  25. # You can also override it from the CLI using
  26. # ./gradlew <task> -PreactNativeArchitectures=x86_64
  27. # reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
  28. reactNativeArchitectures=arm64-v8a
  29. reactNative.enable16KPageSize=true
  30. # Use this property to enable support to the new architecture.
  31. # This will allow you to use TurboModules and the Fabric render in
  32. # your application. You should enable this flag either if you want
  33. # to write custom TurboModules/Fabric components OR use libraries that
  34. # are providing them.
  35. newArchEnabled=true
  36. # Use this property to enable or disable the Hermes JS engine.
  37. # If set to false, you will be using JSC instead.
  38. hermesEnabled=true
  39. # VisionCamera settings
  40. VisionCamera_enableCodeScanner=true