Fix Automatic-Module-Name without hypens

Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
This commit is contained in:
Daniel Garnier-Moiroux 2026-09-16 17:35:36 +02:00 • committed by Daniel Garnier-Moiroux
commit 183935bf80

View file

@ -0,0 +1,25 @@
/*
* Copyright 2026 - 2026 the original author or authors.
*/
/**
* Aggregator module for the Java MCP SDK. Carries no code of its own; it exists so that
* consumers can depend on the SDK with a single {@code requires} directive.
*/
module io.modelcontextprotocol.sdk.mcp {
requires transitive io.modelcontextprotocol.sdk.mcp.core;
requires transitive io.modelcontextprotocol.sdk.mcp.json.jackson3;
// mcp-core and mcp-json-jackson3 are automatic modules, so they cannot pull their
// own dependencies into the module graph. Requiring them here spares consumers from
// having to repeat these declarations. Drop this block once the SDK modules carry
// their own module descriptors.
requires org.slf4j;
requires tools.jackson.databind;
requires com.networknt.schema;
}