gradle.properties 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. org.gradle.jvmargs=-Xmx3000m
  10. # When configured, Gradle will run in incubating parallel mode.
  11. # This option should only be used with decoupled projects. More details, visit
  12. # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  13. # org.gradle.parallel=true
  14. # AndroidX package structure to make it clearer which packages are bundled with the
  15. # Android operating system, and which are packaged with your app's APK
  16. # https://developer.android.com/topic/libraries/support-library/androidx-rn
  17. android.useAndroidX=true
  18. # Automatically convert third-party libraries to use AndroidX
  19. android.enableJetifier=false
  20. # Kotlin code style for this project: "official" or "obsolete":
  21. kotlin.code.style=official
  22. kotlin.incremental.useClasspathSnapshot=true
  23. android.enableResourceOptimizations=true
  24. android.enableNewResourceShrinker=true
  25. android.experimental.enableNewResourceShrinker.preciseShrinking=true
  26. # https://blog.gradle.org/introducing-file-system-watching
  27. org.gradle.vfs.watch=true
  28. # enable cache can not up app version
  29. org.gradle.unsafe.configuration-cache=flase
  30. # Disable buildFeatures flags by default
  31. android.defaults.buildfeatures.aidl=false
  32. android.defaults.buildfeatures.buildconfig=false
  33. android.defaults.buildfeatures.renderscript=false
  34. android.defaults.buildfeatures.resvalues=false
  35. android.defaults.buildfeatures.shaders=false
  36. # enables namespacing of each library's R class so that its R class includes only the resources declared in the library itself
  37. # and none from the library's dependencies, thereby reducing the size of the R class for that library.
  38. android.nonTransitiveRClass=true
  39. # https://chromiumdash.appspot.com/releases?platform=Android
  40. CronetVersion=111.0.5563.15
  41. CronetMainVersion=111.0.0.0
  42. android.injected.testOnly=false