Skip to content

Fix test framework implementation dependencies deprecation - #39

Merged
Besi97 merged 1 commit into
mainfrom
fix/test-framework-deprecation
Aug 4, 2026
Merged

Besi97 merged 1 commit into
mainfrom
fix/test-framework-deprecation

Conversation

@Besi97

@Besi97 Besi97 commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Gradle 8.x deprecated automatic loading of test framework implementation dependencies, scheduled for removal in Gradle 9.0.

The warning occurred because test.useJUnitPlatform() relies on Gradle to automatically inject the JUnit Jupiter engine dependency. The modern approach is to use the testing {} block with useJUnitJupiter(), which makes the test framework declaration explicit and configuration-cache friendly.

Closes: #36

Use testing {} block with useJUnitJupiter() instead of test.useJUnitPlatform()
to explicitly declare test framework and avoid Gradle 9.0 deprecation warning.

Closes: #36
@Besi97
Besi97 merged commit 02dfc83 into main Aug 4, 2026
3 checks passed
@Besi97
Besi97 deleted the fix/test-framework-deprecation branch August 4, 2026 15:23
@Besi97 Besi97 added the enhancement New feature or request label Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix deprecation: Test framework implementation dependencies (Gradle 9.0)

1 participant