Warning: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
这个的意思是compile已经在2018年过时了,需要改成implementation' 和 'api
类似于这样,在App里面的dependencies中。