Exclude samples from composite gradle build (#337)
Exclude samples from composite gradle build ## Motivation and Context Circular dependency in composite build. Let's make samples more independent ## How Has This Been Tested? CI ## Breaking Changes No ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [x] Build configuration update ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [ ] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context <!-- Add any other context, implementation notes, or design decisions -->
This commit is contained in:
parent
8f9f484e33
commit
93c2341210
1 changed files with 0 additions and 20 deletions
|
|
@ -24,23 +24,3 @@ include(
|
|||
":kotlin-sdk",
|
||||
":kotlin-sdk-test",
|
||||
)
|
||||
|
||||
// Include sample projects as composite builds if this is the root project
|
||||
// if (gradle.parent == null) {
|
||||
includeBuild("samples/kotlin-mcp-client") {
|
||||
dependencySubstitution {
|
||||
substitute(module("io.modelcontextprotocol:kotlin-sdk-client"))
|
||||
.using(project(":"))
|
||||
}
|
||||
}
|
||||
// includeBuild("samples/kotlin-mcp-server")
|
||||
|
||||
includeBuild("samples/weather-stdio-server") {
|
||||
dependencySubstitution {
|
||||
substitute(module("io.modelcontextprotocol:kotlin-sdk-client"))
|
||||
.using(project(":"))
|
||||
substitute(module("io.modelcontextprotocol:kotlin-sdk-server"))
|
||||
.using(project(":"))
|
||||
}
|
||||
}
|
||||
// }
|
||||
|
|
|
|||
Loading…
Reference in a new issue