Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ public synchronized void init(ProcessingEnvironment processingEnv) {

boolean useConfigMapping = !Boolean
.parseBoolean(utils.processingEnv().getOptions().getOrDefault(Options.LEGACY_CONFIG_ROOT, "false"));

if (!useConfigMapping) {
throw new IllegalArgumentException(
"Starting with Quarkus 3.25, legacy config classes (deprecated since Quarkus 3.19) are not supported anymore. "
+ "Please migrate the configuration of your extension to interfaces annotated with @ConfigMapping. See https://quarkus.io/guides/config-mappings#config-mappings for more information.");
}

boolean debug = Boolean.getBoolean(DEBUG);

ExtensionModule extensionModule = utils.extension().getExtensionModule();
Expand Down
Loading