Skip to content

Commit

Permalink
Default must be manually handled, i missed this.
Browse files Browse the repository at this point in the history
Fixes #912
  • Loading branch information
cstamas committed Apr 20, 2024
1 parent d41d6a2 commit 953ac50
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,9 @@ private static List<CoreExtension> readCoreExtensionsDescriptor(Path multiModule

private static List<CoreExtension> filterCoreExtensions(List<CoreExtension> coreExtensions) {
Set<String> exclusions = new HashSet<>();
String exclusionsString =
systemProperty(Environment.MVND_CORE_EXTENSIONS_EXCLUDE).asString();
String exclusionsString = systemProperty(Environment.MVND_CORE_EXTENSIONS_EXCLUDE)
.asOptional()
.orElse(Environment.MVND_CORE_EXTENSIONS_EXCLUDE.getDefault());
if (exclusionsString != null) {
exclusions.addAll(Arrays.stream(exclusionsString.split(","))
.filter(e -> e != null && !e.trim().isEmpty())
Expand Down

0 comments on commit 953ac50

Please sign in to comment.