Allprojects configuration closures not applied to buildSrc

I’ve noticed that configuration closures defined using allprojects are not applied to the buildSrc project.

I ran into this because we have some audit-required configurations defined in a allprojects closure. I looked through the documentation and there doesn’t appear to be anything indicating that the behavior of the buildSrc project should be different in this case, but it does seems like a reasonable thing.

Can anyone confirm that this is what is supposed to happen?

‘buildSrc’ is a separate build (not project). It gets executed before the main build’s build scripts even get evaluated, and therefore isn’t affected by ‘allprojects’.

Thanks for the clarification!