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. # When configured, Gradle will run in incubating parallel mode.
  10. # This option should only be used with decoupled projects. More details, visit
  11. # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  12. # org.gradle.parallel=true
  13. android.useDeprecatedNdk=true
  14. android.enableBuildCache=false
  15. android.injected.testOnly=false
  16. # Project-wide Gradle settings.
  17. # IDE (e.g. Android Studio) users:
  18. # Gradle settings configured through the IDE *will override*
  19. # any settings specified in this file.
  20. # For more details on how to configure your build environment visit
  21. # http://www.gradle.org/docs/current/userguide/build_environment.html
  22. # Specifies the JVM arguments used for the daemon process.
  23. # The setting is particularly useful for tweaking memory settings.
  24. org.gradle.jvmargs=-Xmx1024m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
  25. # When configured, Gradle will run in incubating parallel mode.
  26. # This option should only be used with decoupled projects. More details, visit
  27. # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  28. # org.gradle.parallel=true
  29. # AndroidX package structure to make it clearer which packages are bundled with the
  30. # Android operating system, and which are packaged with your app's APK
  31. # https://developer.android.com/topic/libraries/support-library/androidx-rn
  32. android.useAndroidX=true
  33. # Automatically convert third-party libraries to use AndroidX
  34. android.enableJetifier=true
  35. #并行编译
  36. org.gradle.parallel=true
  37. #守护进程
  38. org.gradle.daemon=true
  39. #开启孵化模式
  40. org.gradle.configureondemand=true