Skip to content

Conversation

@jaydeluca
Copy link
Member

@jaydeluca jaydeluca commented Aug 31, 2025

Gradle 9 has a new requirement for test tasks:

In previous releases, it was possible to create Test tasks without any additional configuration. By convention, Gradle used the classpath and test classes from the test source set.
The convention has been removed, but builds will not fail if they were relying on this behavior. Builds that emitted the deprecation warning will silently stop executing tests.

If you run this test locally you will see it doesn't do anything at the moment:

Screenshot 2025-08-31 at 7 32 17 AM

Specifying the classes/classpath we now see results:

Screenshot 2025-08-31 at 7 33 24 AM

@jaydeluca jaydeluca requested a review from a team as a code owner August 31, 2025 11:41
@github-actions github-actions bot requested review from jsuereth and psx95 August 31, 2025 11:41
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@trask trask added this pull request to the merge queue Aug 31, 2025
Merged via the queue into open-telemetry:main with commit b7c2b76 Aug 31, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants