Skip to content

Commit 4fdbf79

Browse files
committed
Update DBeanScopeBuilder.java
1 parent ee18e18 commit 4fdbf79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

inject/src/main/java/io/avaje/inject/DBeanScopeBuilder.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ private ConfigPropertyPlugin defaultPropertyPlugin() {
222222
}
223223

224224
private boolean detectAvajeConfig() {
225-
225+
if (ModuleLayer.boot().findModule("io.avaje.config").isPresent()) {
226+
return true;
227+
}
226228
try {
227229
Config.asConfiguration();
228230
return true;

0 commit comments

Comments
 (0)