GoogleCloudPlatform / app-gradle-plugin

The library has moved to https://github.com/GoogleCloudPlatform/appengine-plugins/tree/main/app-gradle-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: What is the minimum supported Gradle version?

TWiStErRob opened this issue · comments

The repository sources are misleading:

| 2.0.0 + | 4.0 or newer |

private static final GradleVersion GRADLE_MIN_VERSION = GradleVersion.version("3.4.1");

public static final GradleVersion GRADLE_MIN_VERSION = GradleVersion.version("3.4.1");

Thank you for catching this - I believe the README has the intended version compatibility here, and we likely missed updating GRADLE_MIN_VERSION used in the enforcement check and test suite. Will put in a PR for aligning them. (This may also need to be re-visited after #451, as you noted.)

@emmileaf thanks. Implementation-wise I would actually merge #451 first, and then move the constant to GradleCompatibility class so there's only one, not two of them.

Implementation-wise I would actually merge #451 first, and then move the constant to GradleCompatibility class so there's only one, not two of them.

That's a good suggestion - I'll unlink #453 and leave this issue open to track follow-ups needed.