1. gradle.properties缓存配置

    # 使用缓存
    org.gradle.unsafe.configuration-cache=true
    # 将problem转化为warn
    org.gradle.unsafe.configuration-cache-problems=warn
    # gradle内存设置
    org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
    # AndroidX支持
    android.useAndroidX=true
    # Automatically convert third-party libraries to use AndroidX
    android.enableJetifier=true
    # Kotlin code style for this project: "official" or "obsolete":
    kotlin.code.style=official