Avoild duplication in settings.gradle files

I have at least 8 settings.gradle files in the root project directories of a large project all with a piece of code like this, that is becoming annoying:

pluginManagement
{
    repositories
	{
        gradlePluginPortal()
    }
    includeBuild '../tipos'
}

dependencyResolutionManagement
{
    versionCatalogs
	{
        libs
		{
			from(files("../gradle/libs.versions.toml"))
		}
    }
}

Is there a way to unify this code somewhere to avoid this duplication, so that I can change it in only one place?