ePages-de / restdocs-api-spec

Adds API specification support to Spring REST Docs
MIT License
391 stars 103 forks source link

Upgrade to gradle 7.x #196

Closed jyeonjyan closed 1 year ago

jyeonjyan commented 2 years ago

Hello.

While smoothly following Getting started I get an error Could not find method testCompile() for arguments and make a request.

In a way, this is a very simple error.

However, since it is an open source project, I respectfully request it because I thought it would be good to always keep the latest version of README.

As of Gradle 7, the testCompile method has been removed.

Screen Shot 2022-01-28 at 1 46 37 AM

It would be appreciated if you correct the 2.2/dependencies/testCompile() configuration with testImplementation().

testImplementation('com.epages:restdocs-api-spec-mockmvc:0.15.1') //2.2 | works with Gradle 7 version

Thank you for developing a great product 🙂

ozscheyge commented 2 years ago

Hey @jyeonjyan ,

that's true and thanks for pointing it out! Looks like, you managed anyway. :)

We aren't explicit on the gradle version we use for the example, we just assumed the same as the gradle wrapper included in this project, which is basically a year old ( https://gradle.org/releases/ ), but still works fine.

The solution space:

ozscheyge commented 1 year ago

This is done