This message appears in the Android Studio console
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: link
And points to line 156 of the image below
How do I fix this? I have already accessed the link indicated in the console, but open a page full of explanations and nothing that seems to be the solution.