Deprecation Warning
The automatic loading of test framework implementation dependencies has been deprecated. The desired test framework must be declared directly on the test suite or its implementation dependencies must be explicitly declared on the test runtime classpath.
Where
plugins/gradle/example-client/build.gradle
The project uses JUnit Jupiter but does not call test.useJUnitPlatform().
Fix
Add useJUnitPlatform() to the test task configuration:
test {
useJUnitPlatform()
}
Removed in
Gradle 9.0
Resource
https://docs.gradle.org/8.14.3/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
Deprecation Warning
The automatic loading of test framework implementation dependencies has been deprecated. The desired test framework must be declared directly on the test suite or its implementation dependencies must be explicitly declared on the test runtime classpath.
Where
plugins/gradle/example-client/build.gradleThe project uses JUnit Jupiter but does not call
test.useJUnitPlatform().Fix
Add
useJUnitPlatform()to the test task configuration:test { useJUnitPlatform() }Removed in
Gradle 9.0
Resource
https://docs.gradle.org/8.14.3/userguide/upgrading_version_8.html#test_framework_implementation_dependencies