Is there an API present to programatically modify settings.gradle file? Namely the rootProject.name value?
Use case: sample project is imported which may have various states: initial, intermediate, complete for example. Project name should reflect the state of the project hence project name in the settings.gradle file (if present) should be modified as well.