gradle.properties 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 -Xms256m -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError
  10. # Bugs: This will override important JVM argument defaults. Include all important JVM arguments if you wan to change arguments. See https://github.com/gradle/gradle/issues/19750
  11. org.gradle.jvmargs=-Xmx8g -Xms512m -XX:MaxMetaspaceSize=1024m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseG1GC
  12. # When configured, Gradle will run in incubating parallel mode.
  13. # This option should only be used with decoupled projects. More details, visit
  14. # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  15. # org.gradle.parallel=true
  16. # AndroidX package structure to make it clearer which packages are bundled with the
  17. # Android operating system, and which are packaged with your app's APK
  18. # https://developer.android.com/topic/libraries/support-library/androidx-rn
  19. android.useAndroidX=true
  20. # Automatically convert third-party libraries to use AndroidX
  21. android.enableJetifier=false
  22. # Kotlin code style for this project: "official" or "obsolete":
  23. kotlin.code.style=official
  24. kotlin.incremental.useClasspathSnapshot=true
  25. android.enableResourceOptimizations=true
  26. # android.enableNewResourceShrinker' is deprecated.
  27. # It was removed in version 8.0 of the Android Gradle plugin.
  28. # android.enableNewResourceShrinker=true
  29. android.experimental.enableNewResourceShrinker.preciseShrinking=true
  30. # https://blog.gradle.org/introducing-file-system-watching
  31. org.gradle.vfs.watch=true
  32. # enable cache can not up app version
  33. org.gradle.unsafe.configuration-cache=false
  34. # Disable buildFeatures flags by default
  35. android.defaults.buildfeatures.aidl=false
  36. android.defaults.buildfeatures.buildconfig=false
  37. android.defaults.buildfeatures.renderscript=false
  38. android.defaults.buildfeatures.resvalues=false
  39. android.defaults.buildfeatures.shaders=false
  40. # enables namespacing of each library's R class so that its R class includes only the resources declared in the library itself
  41. # and none from the library's dependencies, thereby reducing the size of the R class for that library.
  42. android.nonTransitiveRClass=true
  43. # https://chromiumdash.appspot.com/releases?platform=Android
  44. CronetVersion=128.0.6613.40
  45. CronetMainVersion=128.0.0.0
  46. android.injected.testOnly=false
  47. android.nonFinalResIds=true
  48. android.injected.androidTest.leaveApksInstalledAfterRun=true