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
Add Upgrade Note for Strongly Typed Dependencies in Test Suites #22778
Add Upgrade Note for Strongly Typed Dependencies in Test Suites #22778
Conversation
@bot-gradle test bd |
OK, I've already triggered the following builds for you: |
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 overall, but one suggestion and one issue, see below
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
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.
Docs LGTM -- optional suggestions.
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
…n_7.adoc Co-authored-by: nate contino <ncontino@gradle.com>
…n_7.adoc Co-authored-by: nate contino <ncontino@gradle.com>
I tried to combine and apply Nate and Sterling's suggestions, thank you both. |
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.
Docs LGTM, but I hope you accept my suggestions to streamline this section a bit.
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
@@ -117,6 +117,59 @@ PMD has been updated to https://pmd.github.io/pmd-6.48.0/pmd_release_notes.html[ | |||
When configuring an executable explicitly for link:{groovyDslPath}/org.gradle.api.tasks.compile.ForkOptions.html#org.gradle.api.tasks.compile.ForkOptions:executable[`JavaCompile`] or link:{groovyDslPath}/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:executable[`Test`] tasks, Gradle will now emit an error if this executable does not exist. | |||
In the past, the task would be executed with the default toolchain or JVM running the build. | |||
|
|||
==== Changes to dependency declarateions in Test Suites | |||
|
|||
As part of the ongoing effort to improve Test Suites, dependency declarations using its nested `dependencies` block are <<jvm_test_suite_plugin.adoc#sec:differences_with_top_level_dependencies, now strongly typed>>. |
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.
As part of the ongoing effort to improve Test Suites, dependency declarations using its nested `dependencies` block are <<jvm_test_suite_plugin.adoc#sec:differences_with_top_level_dependencies, now strongly typed>>. | |
Dependency declarations in the Test Suites `dependencies` block are <<jvm_test_suite_plugin.adoc#sec:differences_with_top_level_dependencies, now strongly typed>>. |
Suggestion: as an incubating API, I assume users are aware we are continually tweaking and improving things. Better to avoid the confusing pronoun usage, eliminate the intro, and keep the sentence trim.
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 prefer the intro here. I think part of the reason for this note existing is to head of criticism in the form of "Why did this minor version upgrade suddenly break my build?" Re-emphasizing the incubating and changing status of the API seems worthwhile, and might prevent some angry feedback/issues. I like the changes after that clause.
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
subprojects/docs/src/docs/userguide/migration/upgrading_version_7.adoc
Outdated
Show resolved
Hide resolved
…n_7.adoc Co-authored-by: nate contino <ncontino@gradle.com>
…n_7.adoc Co-authored-by: nate contino <ncontino@gradle.com>
…n_7.adoc Co-authored-by: nate contino <ncontino@gradle.com>
@bot-gradle test and merge |
OK, I've already triggered a build for you. |
Fixes #22720