-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Upgrade to Gradle 7 #572
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
Comments
Thanks for the request @think-info. FYI, this project depends on Spring Security 5.5, which compiles against JDK 1.8. We do plan on upgrading to Gradle 7 soon. |
Upgrading to Gradle 7 is not yet possible because of the spring-build-conventions dependency. The development of this plugin seems to have stopped. Last commit is dated from 29 June 2021. Should this plugin still be used ? See also this issue: spring-gradle-plugins/spring-build-conventions#95 |
@VonUniGE We have a few changes that need to be made, including |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Project and samples are not buildable in Java 17 due to Gradle 7 requirement and deprecation/removal of
compile
dependency syntax.To Reproduce
Open project in environment running J17, and update
gradle-wrapper.properties
to a J17-supported version, e.g7.3.2
Expected behavior
The project to be usable in an up-to-date environment.
Cause
The
compile
instruction was deprecated in Gradle 6, per https://docs.gradle.org/current/userguide/upgrading_version_5.htmlIt was removed from Gradle 7, and 7.3 is required for Java 17.
Solution
Change all
compile
instructions in gradle dependancy lists toimplementation
(and alltestCompile
totestImplementation
). There are a few other changes per the upgrade instructions, but I didn't see instances of them in the checked files. This change will not adverssely impact earlier-version users as it's to bring in line with Gradle 6 deprecation.The text was updated successfully, but these errors were encountered: