I am working on a plugin that can be applied to both projects and settings (via settings.gradle).
I can easily test applying the plugin to a Project by using ProjectBuilder to get a project instance, then calling the apply method on it.
I’d like to test applying the plugin to a Settings instance, but I can’t figure out how to get one. There is no “SettingsBuilder”, and I can’t seem to get a Settings instance from a project or its Gradle instance.
Is there a way to get what I need? Alternately, is there another way to test applying a plugin to a Settings object?
Thanks,
Steve