-
Couldn't load subscription status.
- Fork 169
#302 Update samples build workflow #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good to me, only minor comments
| } | ||
| plugins { | ||
| // Apply the foojay-resolver plugin to allow automatic download of JDKs | ||
| id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, let's move to libs.versions.toml
samples/weather-stdio-server/src/test/kotlin/io/modelcontextprotocol/sample/client/FakeTest.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a few questions, could you please take a look at them?
| koverLog koverHtmlReport \ | ||
| publishToMavenLocal | ||
| publishToMavenLocal \ | ||
| -Pversion=0.0.1-SNAPSHOT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this version being used? Shouldn’t we use the latest version + snapshot instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it would be harder to maintain. This is an ephemeral version for the build process only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a separate toml file for each example?
Maybe it would be clearer to specify the versions directly in the build.gradle files instead?
Also, we should check the dependabot workflow to make sure it monitors these files as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, samples should be completely independent from SDK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
#302 Update samples build workflow
Motivation and Context
Samples should be independently buildable
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context