gradle.properties 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. android.enableResourceOptimizations=true
  25. # android.enableNewResourceShrinker' is deprecated.
  26. # It was removed in version 8.0 of the Android Gradle plugin.
  27. # android.enableNewResourceShrinker=true
  28. android.experimental.enableNewResourceShrinker.preciseShrinking=true
  29. # https://blog.gradle.org/introducing-file-system-watching
  30. org.gradle.vfs.watch=true
  31. # enable cache can not up app version
  32. org.gradle.unsafe.configuration-cache=false
  33. # Disable buildFeatures flags by default
  34. android.defaults.buildfeatures.aidl=false
  35. android.defaults.buildfeatures.buildconfig=false
  36. android.defaults.buildfeatures.renderscript=false
  37. android.defaults.buildfeatures.resvalues=false
  38. android.defaults.buildfeatures.shaders=false
  39. # enables namespacing of each library's R class so that its R class includes only the resources declared in the library itself
  40. # and none from the library's dependencies, thereby reducing the size of the R class for that library.
  41. android.nonTransitiveRClass=true
  42. # https://chromiumdash.appspot.com/releases?platform=Android
  43. CronetVersion=128.0.6613.40
  44. CronetMainVersion=128.0.0.0
  45. android.injected.testOnly=false
  46. android.nonFinalResIds=true
  47. android.injected.androidTest.leaveApksInstalledAfterRun=true