Android gradle3.x中 implementation 、compile、api區別

compile與api 二者等同,無區別 implementation與compile或implementation與api implementation編譯的依賴只作用於當前的module。即APP module依賴了core module,core module中使用implementation編譯的三方庫(如glide)只對core module起作用,app module中無法使用該三方庫
相關文章
相關標籤/搜索