gradle.properties 1.3 KB

123456789101112131415161718192021222324
  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=-Xmx1536m
  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. #android.useAndroidX=true
  15. #android.enableJetifier=true
  16. android.jetifier.blacklist=bcprov-jdk15on
  17. org.gradle.jvmargs=-Xmx2048m
  18. #表示启用 androidx
  19. android.useAndroidX=true
  20. #表示将依赖包也迁移到androidx 。如果取值为false,表示不迁移依赖包到androidx,
  21. #但在使用依赖包中的内容时可能会出现问题,如果项目中没有使用任何三方依赖,可以设置为false。
  22. #表示将项目中使用的第三方库也迁移到androidx,迁移后还需要 Flie -> Invalidate Caches /Restart 一下。
  23. android.enableJetifier=true