-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
a:enhancementNew feature or requestNew feature or request
Description
I'm using the following configuration:
extraJavaModuleInfo {
module("io.modelcontextprotocol.sdk:mcp-core", "io.modelcontextprotocol.sdk.mcp") {
mergeJar("io.modelcontextprotocol.sdk:mcp-json")
mergeJar("io.modelcontextprotocol.sdk:mcp-json-jackson2")
overrideModuleName()
exportAllPackages()
requires("com.fasterxml.jackson.core")
requires("com.fasterxml.jackson.databind")
requires("com.fasterxml.jackson.annotation")
requires("org.slf4j")
requires("reactor.core")
requires("org.reactivestreams")
requires("com.networknt.schema")
}
}
I would have expected the module to automatically declare the uses entries as it does for provides entries for the same module. But it doesn't, I have to add
uses("io.modelcontextprotocol.json.McpJsonMapperSupplier")
uses("io.modelcontextprotocol.json.schema.JsonSchemaValidatorSupplier")
manually. Is this expected or can this be improved?
Metadata
Metadata
Assignees
Labels
a:enhancementNew feature or requestNew feature or request