block to configure where to download plugins from in addition to the Gradle Plugins Portal, rather than having a pluginManagment block in the settings.gradle file in each project, but there doesn’t appear to be an equivalent
But be aware that like with the repositories from the init script, you make it practically impossible to share your Gradle projects as others would not have that configuration and you are modifying also any 3rd party builds you might be executing and thereby maybe break the build in subtle or not so subtle ways.
If you only ever run your own Gradle builds and also don’t share those Gradle builds, that might be not relevant for you and you should be able to use settings.apply(...).