Yes as Tim mentioned in the comment Gradle tells you by highlighting particular dependency as a warning.
Trick to update dependency with latest version:
Let me also share a trick through which you can always include the latest version of the particular dependency.
- Replace the version number with only “+” sign.
- Sync gradle
- Now select + sign and press ALT + ENTER, it will show you drop down menu with an option to select latest version.