Would the gradle devs be willing to add something like a module(Object notation)
method to PluginDependenciesSpec
that would allow users to use a dependency notation to easily apply a plugin that isn’t in the plugin repository.
This would be useful for plugins that are included builds of a composite build.
This would obviate boilerplate in settings.gradle.kts
like the following:
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id == "my-plugin") {
useModule(mapOf("group" to "my-group", "name" to "my-artifact", "version" to requested.version))
}
}
}
}