We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adfa90e commit 3a04f1eCopy full SHA for 3a04f1e
extension.bzl
@@ -2,7 +2,7 @@
2
3
load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
4
5
-def get_root_module(module_ctx):
+def get_wanted_module(module_ctx):
6
for mod in module_ctx.modules:
7
if mod.is_root and hasattr(mod.tags.client, "version"):
8
return mod
@@ -11,7 +11,7 @@ def get_root_module(module_ctx):
11
12
13
def _openapi_generator_impl(module_ctx):
14
- wanted_module = get_root_module(module_ctx)
+ wanted_module = get_wanted_module(module_ctx)
15
16
for install in wanted_module.tags.client:
17
jvm_maven_import_external(
0 commit comments