Skip to content

Commit

Permalink
Support plugins without an ExecutableLocator
Browse files Browse the repository at this point in the history
  • Loading branch information
ateirney committed May 2, 2023
1 parent d7c23d9 commit 3a311ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public abstract class GenerateProtoTask extends DefaultTask {
}

private List<ExecutableLocator> getAllExecutableLocators() {
[toolsLocator.protoc] + plugins.collect { PluginOptions it -> toolsLocator.plugins.getByName(it.name) }
[toolsLocator.protoc] + plugins.findResults { PluginOptions it -> toolsLocator.plugins.findByName(it.name) }
}

@Internal("Not an actual input to the task, only used to find tasks belonging to a variant")
Expand Down

0 comments on commit 3a311ba

Please sign in to comment.