If you’re using Gradle version 7+, update your repository section on your settings.gradle file, instead of build.gradle. Please note: The repository section should be included as part of the dependencyResolutionManagement section:
settings.gradle
build.gradle
dependencyResolutionManagement
Last updated 11 months ago