We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b3dbe2 commit 774fe6eCopy full SHA for 774fe6e
hermetic_build/library_generation/utils/pom_generator.py
@@ -67,13 +67,23 @@ def get_version_from(
67
return line.split(":")[index].strip()
68
69
70
+MODULE_ALLOWLIST = set(
71
+ [
72
+ "google-auth-library-java",
73
+ "sdk-platform-java",
74
+ ]
75
+)
76
+
77
78
def __search_for_java_modules(
79
repository_path: str,
80
) -> List[str]:
81
repo = Path(repository_path).resolve()
82
modules = []
83
for sub_dir in repo.iterdir():
- if sub_dir.is_dir() and sub_dir.name.startswith("java-"):
84
+ if sub_dir.is_dir() and (
85
+ sub_dir.name.startswith("java-") or sub_dir.name in MODULE_ALLOWLIST
86
+ ):
87
modules.append(sub_dir.name)
88
return sorted(modules)
89
0 commit comments