I have some projects, which have same settings.gradle.kts (except rootProject.name).
These projects are gathered with includeBuild(…).
Is it possible to make some kind of include in settings.gradle.kts?
You can use a legacy script plugin (the things you use with “apply from”), but you really shouldn’t. They have many quirks and are highly discouraged.
You could of course use symlinks if noone on Windows ever needs to use that build. (I know Windows kind of supports them now, but not really). Just put the names in the respective gradle.properties files and read them from there (val foo: String by settings).
But typically what you would do is to create yet another build, there have the common logic as convention plugin, for example implemented as precompiled script plugin, includeBuild it from inside pluginManagement and then apply it.