Skip to content

Upgrade to gemnasium-gradle-plugin 0.3.1

Adam Cohen requested to merge upgrade-to-gemnasium-gradle-0.3.1 into master

What does this MR do?

This MR updates the gemnasium-gradle-plugin to v0.3.1 which resolves a bug that occurs when a project has unresolved dependencies. Previously, a project with unresolved dependencies would hide the errors and the job would pass. The updated gemnasium-gradle-plugin changes this behaviour so a failure will occur in this case and the error Project has unresolved dependencies will be output.

What are the relevant issue numbers?

gitlab-org/gitlab#217910 (closed)

Testing

  • job fails as expected when the project has unresolved dependencies:
    > Task :gemnasiumDumpDependencies FAILED
    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':gemnasiumDumpDependencies'.
    > Project has unresolved dependencies
    BUILD FAILED in 17s
    1 actionable task: 1 executed
    exit status 1
    ERROR: Job failed: exit code 1
  • job passes when the project is valid and has no unresolved dependencies.

Does this MR meet the acceptance criteria?

Edited by Adam Cohen

Merge request reports