Upgrade Gradle to the latest version 8.9 #551
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The newest version of Gradle broke parts of the current build. Some deprecated features were also still in use. This PR tries to fix some of those.
Importing and applying scripts directly has been discouraged for a while. The same is true for using a
subprojectsblock to share configuration. The recommended way to do this are convention plugins.It is straightforward for the most part to convert the existing scripts to convention plugins. The contents of the
subprojectsblock can also be applied in a convention plugin.To make fixing the remaining issues easier, and help in future development, the convention plugins are then converted to Kotlin. The code completion and better typing help find and fix issues.
Some small simplifications have been made, where a direct API is available instead of workarounds. A bigger change of this kind is changing dependencies from
implementationtoapidirectly instead of rewriting their scope later directly in the Maven POM.