Skip to content
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

Document minimum supported Gradle version #348

Open
AppearamidGuy opened this issue Jun 28, 2023 · 0 comments
Open

Document minimum supported Gradle version #348

AppearamidGuy opened this issue Jun 28, 2023 · 0 comments

Comments

@AppearamidGuy
Copy link

tl;dr: based on some basic testing, plugin works with Gradle 7.6+ and with 5.0-6.5.1. Also see the last paragraph

I started investigating this to better understand how difficult it would be to support configuration cache. However it might be also useful in the context of jeremylong/DependencyCheck#5791.

All test were performed with plugin version 8.3.1 and a basic java project.

The plugin is actually very backwards compatible and the earliest version of Gradle where the plugin applies successfully is 3.3 (released Jan 2017!). But the first version that can run tasks is 5.0 as it's the first version with Groovy >= 2.5.0. Earlier plugin versions (8.0.1 and below) actually can run with Gradle 3.3+, but 8.0.2+ can't. Finally, plugin can't be applied in Gradle versions 6.6-7.5.1 because of java version in jackson.

Declaring 7.6 as minimum supported Gradle version can be reasonable considering that 7.x is in maintenance only mode and it's the first version where plugin actually works. It is definitely enough to support configuration caching and also has some nice features like "Using dependency resolution results as task inputs" which should help with #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant