gradle.properties缓存配置

  1. gradle.properties缓存配置

    # 开启Configuration Cache
    org.gradle.unsafe.configuration-cache=true
    # 开启Build Cache
    org.gradle.caching=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
    
    
posted @ 2021-09-02 17:58  SowHappy  阅读(1010)  评论(0)    收藏  举报