Reputation: 133
I am working on a project and I tried to run the gradle wrapper but the build failed and I got the following error:
:gulpConstantDev FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task :gulpConstantDev.
gulp not installed in node_modules, please first run gradle installGulp
I then ran grade installGulp
, but the build failed again and I got the following error:
What went wrong:
A problem occurred evaluating root project 'gateway'.
Failed to apply plugin [class 'io.spring.gradle.dependencymanagement.DependencyManagementPlugin']
Could not create task of type 'DependencyManagementReportTask'.
I am a novice programmer and I'm fairly new to Stack Overflow. Thanks in advance for any help!
Upvotes: 5
Views: 6988
Reputation: 1508
I think it is a little bit late. I was facing the same issue tonight. I solved it by adding as a dependency "io.spring.gradle:dependency-management-plugin". For exemple I have:
ext {
spring_version = "4.2.5.RELEASE"
springboot_version = "1.3.3.RELEASE"
spring_dependency_management_version = "0.6.1.RELEASE"
}
And
dependencies {
classpath("io.spring.gradle:dependency-management-plugin:${spring_dependency_management_version}")
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springboot_version}")
}
I hope that could help.
Upvotes: 3