Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

配置“编译”已经过时,已经被“实现”和“API”所取代。
它将在2018年底被删除。有关更多信息,请参见:HTTP://D.ANDROID.COM/R/TooSt/UpDelp-依赖配置-HTML

Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
可以访问
https://blog.csdn.net/Song_74110/article/details/80387307
需要改成如下:
compile 改成implementation
androidTestCompile改成androidTestImplementation
testCompile 改成testImplementation

    原文作者:往事烦多
    原文地址: https://www.jianshu.com/p/d7bfba9ec315?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞