Skip to content

Commit

Permalink
Merge pull request #24585 from radcortez/fix-24577
Browse files Browse the repository at this point in the history
Ignore build time properties warnings coming from the build system
  • Loading branch information
gsmet authored Mar 28, 2022
2 parents ae6eedb + f288323 commit 78d538e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,10 @@ ReadResult run() {
}
}

// Remove properties coming from the Build System, because most likely they are used in build scripts
config.getConfigSource("PropertiesConfigSource[source=Build system]").ifPresent(
configSource -> unknownBuildProperties.removeAll(configSource.getPropertyNames()));

// ConfigMappings
for (ConfigClassWithPrefix mapping : buildTimeVisibleMappings) {
objectsByClass.put(mapping.getKlass(), config.getConfigMapping(mapping.getKlass(), mapping.getPrefix()));
Expand Down

0 comments on commit 78d538e

Please sign in to comment.