geowarin/boot-react

Failed to apply plugin [class 'io.spring.gradle.dependencymanagement.DependencyManagementPlugin']

smohanty0714 opened this issue · 2 comments

Getting Error with gradle install :

gradle install --stacktrace

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\codebase\POC\boot-react\backend\build.gradle' line: 17

* What went wrong:
A problem occurred evaluating project ':backend'.
> Failed to apply plugin [class 'io.spring.gradle.dependencymanagement.DependencyManagementPlugin']
   > Could not create task of type 'DependencyManagementReportTask'.

Fix -

added this and issue fixed.
classpath 'io.spring.gradle:dependency-management-plugin:0.6.1.RELEASE'

Please update the same on repo . Thank you .

Hello, gradle install isn't a task.
What are you trying to accomplish ?
I assume that you would like to publish the jar to your local maven repo.

In which case, check out this doc.
I don't think this is necessary in most workflows and I'd rather have the user choose to depend on this plugin or not.

Closing.