Multiple allprojects code blocks

I am using a plugin script, that has a allprojects code block.

Within my build.gradle file a want to add some settings in an allprojects code block, too.
This second block is ignored.

What code is being ignored? If it’s afterEvaluate you might be hitting this issue. If you add a println directly inside your allprojects closure does it execute?