gradle-4.4的坑 WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementat...

WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.

同步第三方架包 如: compile ‘com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.22′(不怕编译警告,使用这个)

建议用: implementation ‘com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.22′(真实情况,使用这个同步会失败)

或 api ‘com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.22′(有强迫症,建议用这个)

    原文作者:雨邪
    原文地址: https://www.jianshu.com/p/303489a1af6f
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞