Skip to content

Commit

Permalink
Merge pull request wildfly#18674 from ropalka/WFLY-20199
Browse files Browse the repository at this point in the history
[WFLY-20199] Use ModuleDependency.Builder instead of deprecated ModuleDependency ctor in MP HEALTH
  • Loading branch information
bstansberry authored Jan 18, 2025
2 parents 878ea69 + 1e1c502 commit 432b759
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private static void addModuleDependencies(DeploymentUnit deploymentUnit) {
final ModuleSpecification moduleSpecification = deploymentUnit.getAttachment(Attachments.MODULE_SPECIFICATION);
final ModuleLoader moduleLoader = Module.getBootModuleLoader();

moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, "org.eclipse.microprofile.health.api", false, false, false, false));
moduleSpecification.addSystemDependency(ModuleDependency.Builder.of(moduleLoader, "org.eclipse.microprofile.health.api").build());
}

}

0 comments on commit 432b759

Please sign in to comment.