gradle.properties 2.8 KB

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