Gradle 6.8 introduced central declaration of repositories, new way to define repositories. Latest documentation (7.4.2) can be found here.
Remove the dependencyResolutionManagement block from the setting.gradle file to have your project work the old way.