Update the Corda Gradle plugins to check the version of Gradle for compatibility.

Description

Gradle supports a GradleVersion.current() API which allows a Gradle plugin to determine which version of Gradle it is running in. Update the plugins to fail immediately if Gradle is too old, and provide the user with a helpful error message.

Currently, for CorDapp development:

  • cordapp → Gradle 5.1

  • cordformation → Gradle 5.1

  • quasar-utils → Gradle 5.1

And for our internal plugins:

  • publish-utils → Gradle 5.1

  • api-scanner → Gradle 5.6

  • jar-filter → Gradle 5.6

Done

Assignee

Chris Rankin

Reporter

Chris Rankin

Labels

Sprint

None

Epic Link

None

Priority

Low

Engineering Teams

Core - Sandboxing & Packaging Team

Fix versions

Affects versions

None

Story Points / Dev Days

1

Squad

None