Ensure gemnasium-gradle-plugin supports Gradle 7.0

Release Note gitlab-com/www-gitlab-com!85828 (merged)

Problem to solve

The gemnasium-gradle-plugin used by Dependency Scanning does not currently support gradle 7 and ought to be enabled to do so.

Intended users

Proposal

When analyzing a gradle 7.0 the Dependency Scanning throws an error because of more stringent language requirements around getter and setters: Type 'DumpDependenciesTask': field 'TASK_NAME' without corresponding getter has been annotated with @Internal. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.

The plugin needs to be updated.

Implementation plan

  • update gemnasium-gradle-plugin to add a getter method for accessing the TASK_NAME member
  • release new version of plugin
Edited by Igor Frenkel