Hi,
I am currently getting the following error in one of my project’s build from the CI server.
* What went wrong:
An exception occurred applying plugin request [id: 'com.github.blindpirate.gogradle', version: '0.8.0']
> Failed to apply plugin [id 'com.github.blindpirate.gogradle']
> Declaring custom 'build' task when using the standard Gradle lifecycle plugins is not allowed.
This project has not changed. The last time it was built successfully was about 1 month ago. What I don’t understand is that why is this error coming up now suddenly. There was no change in the Gradle build script and there wasn’t any update to Gradle version either.
Gradle version: 4.4
Applied plugins:
- base
- groovy
- id ‘com.github.blindpirate.gogradle’ version ‘0.8.0’
- id ‘org.unbroken-dome.test-sets’ version ‘1.4.2’
The CI build servers are RedHat based Linux machine. The build is failing consistently on all machines. When I tried to run the same build using Gradle Wrapper from that project on my Mac, I don’t have that error.
I can’t seem to explain what is causing this failure. Any ideas?