Skip to content

Commit

Permalink
Update SmallRye Config to 3.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Dec 11, 2024
1 parent 72ab848 commit d66f421
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.util.Set;
import java.util.TreeSet;

import io.smallrye.config.DefaultValuesConfigSource;
import org.eclipse.microprofile.config.ConfigProvider;

import io.quarkus.bootstrap.model.ApplicationModel;
Expand Down Expand Up @@ -84,7 +85,7 @@ void createBuildTimeActions(BuildProducer<BuildTimeActionBuildItem> buildTimeAct
private boolean isEnabled() {
var value = ConfigProvider.getConfig().getConfigValue("quarkus.bootstrap.incubating-model-resolver");
// if it's not false and if it's false it doesn't come from the default value
return value == null || !"false".equals(value.getValue()) || "DefaultValuesConfigSource".equals(value.getSourceName());
return value == null || !"false".equals(value.getValue()) || DefaultValuesConfigSource.NAME.equals(value.getSourceName());
}

private void buildTree(ApplicationModel model, Root root, Optional<Set<String>> allGavs, Optional<String> toTarget) {
Expand Down

0 comments on commit d66f421

Please sign in to comment.