Reputation: 433
I have this error: ERROR
I checked my Eclipse preferences/Gradle, and the the Gradle directory is well set.
Besides, I have this stack error in my console when I try to refresh my project:
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\java\admin\build.gradle' line: 6
* What went wrong:
A problem occurred evaluating project ':admin'.
> Failed to apply plugin [class 'com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin']
> Could not create task of type 'ShadowJar'.
Do you have any idea of what's happening here?
Thanks!
Upvotes: 8
Views: 7052
Reputation: 326
Gradle 2.11 breaks compatibility with shadowjar version 1.2.2. You can fix this by updating to shadowjar version 1.2.3.
Source: https://github.com/johnrengelman/shadow/commit/918a649b608f34dc0902d8d7aba21326ae5dfe8d
Upvotes: 17