# Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. #org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true #android.useAndroidX=true #android.enableJetifier=true android.jetifier.blacklist=bcprov-jdk15on org.gradle.jvmargs=-Xmx2048m #表示启用 androidx android.useAndroidX=true #表示将依赖包也迁移到androidx 。如果取值为false,表示不迁移依赖包到androidx, #但在使用依赖包中的内容时可能会出现问题,如果项目中没有使用任何三方依赖,可以设置为false。 #表示将项目中使用的第三方库也迁移到androidx,迁移后还需要 Flie -> Invalidate Caches /Restart 一下。 android.enableJetifier=true