1. 程式人生 > >Gradle依賴項之transitive/exclude/force/(+)

Gradle依賴項之transitive/exclude/force/(+)

  • 傳遞(transitive)
  • 排除(exclude)
  • 強制(force)
  • 動態版本(+)

    implementation('com.xxx:xxx:[email protected]') {
        transitive = true
        changing = true
        force = true
        exclude group: 'com.xxx', module: 'xxx'
    }

這裡寫圖片描述

參考資料:https://blog.csdn.net/pkaq_/article/details/53906668