in build.gradle.kts [271:282]
fun getProductMonorepoRoot(): File? {
var currentDir = projectDir
while (currentDir.parent != null) {
if (currentDir.resolve(".ultimate.root.marker").exists()) {
return currentDir
}
currentDir = currentDir.parentFile
}
return null
}