Skip to content

Commit

Permalink
RAP-85 Updated ModuleDependency automation for Derivative
Browse files Browse the repository at this point in the history
  • Loading branch information
QuyenLy87 committed Jun 11, 2024
1 parent 7fd309d commit 7c09f1e
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,13 @@ public Set<ReferenceSetMember> generateModuleDependencies(String branchPath, Str
Map<String, Set<String>> mutualDependencies = detectMutualDependencies(rmPage.getContent());
modulesRequired.addAll(mutualDependencies.keySet());

//If we're not an Edition, remove all international modules
//If we're not an Edition, remove all international modules, but keep the Derivative modules
if (!isEdition) {
modulesRequired.removeAll(cachedInternationalModules);
for (String module : cachedInternationalModules) {
if (modulesIncluded == null || !modulesIncluded.contains(module)) {
modulesRequired.remove(module);
}
}
}

//Recover all these module concepts to find out what module they themselves were defined in.
Expand Down

0 comments on commit 7c09f1e

Please sign in to comment.