buildSrc and settings.gradle

Hi all. I’m in the process of upgrading our project’s gradle version from 6.9.1 to 7.0. I’m getting an interesting error:

Project directory '/.../buildSrc' is not part of the build defined by settings file '/.../settings.gradle'. If this is an unrelated build, it must have its own settings file.

This seems surprising as “buildSrc” is supposed to be special (and I get an error if I add an “include” for it in settings.gradle).

I can give it its own settings.gradle fiile, but then it looks like I also need to replicate Also, it’s not clear that properties are shared with the root project, which leaves me wondering how they should be propagated from the root build?

What’s the right way to do this?