Skip to content

Update Gradle examples to use configurations for dependencies that are Gradle 7-compatible #743

@brneto

Description

@brneto

The Spring REST Docs documentation suggests add spring-restdocs-mockmvc dependency in the testCompile configuration.

Gradle 7.2 do not use this configuration anymore but instead testCompileOnly also with dependency spring-restdocs-webtestclient it is working only in the testImplementation configuration.

See:
https://gitter.im/spring-projects/spring-restdocs?at=6123547ceb72173430e02917
https://gitter.im/spring-projects/spring-restdocs?at=61235b29aa48d1340c298457

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions