Skip to content

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

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

Closed
brneto opened this issue Aug 23, 2021 · 3 comments
Labels
type: documentation Changes to the documentation
Milestone

Comments

@brneto
Copy link

brneto commented Aug 23, 2021

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

@wilkinsona
Copy link
Member

@brneto Thanks for raising this. Spring REST Docs is managed as a separate project. I'll transfer this issue so it's in the right place.

@wilkinsona wilkinsona transferred this issue from spring-projects/spring-boot Aug 23, 2021
@wilkinsona wilkinsona changed the title Update Spring REST Docs Gradle build configuration Update Gradle configuration examples to use configurations for dependencies that are Gradle 7-compatible Aug 23, 2021
@wilkinsona wilkinsona changed the title Update Gradle configuration examples to use configurations for dependencies that are Gradle 7-compatible Update Gradle examples to use configurations for dependencies that are Gradle 7-compatible Aug 23, 2021
@wilkinsona wilkinsona added type: documentation Changes to the documentation and removed status: waiting-for-triage Untriaged issue labels Aug 23, 2021
@wilkinsona wilkinsona added this to the 2.0.6.RELEASE milestone Aug 23, 2021
@brneto
Copy link
Author

brneto commented Aug 23, 2021

@wilkinsona As done before I'm happy to help in this documentation update if you may want. Please, just point the direction and I can do the rest.

@wilkinsona
Copy link
Member

On closer inspection, this was already done as part of #719.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation Changes to the documentation
Projects
None yet
3 participants