Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails with Gradle 5+ #907

Closed
PhilipRoman opened this issue Jun 13, 2019 · 0 comments · Fixed by #908
Closed

build fails with Gradle 5+ #907

PhilipRoman opened this issue Jun 13, 2019 · 0 comments · Fixed by #908

Comments

@PhilipRoman
Copy link
Collaborator

PhilipRoman commented Jun 13, 2019

Describe the bug

$ gradle tasks

FAILURE: Build failed with an exception.

* Where:
Build file '/root/Java-WebSocket/build.gradle' line: 45

* What went wrong:
A problem occurred evaluating root project 'Java-WebSocket'.
> Cannot add task 'wrapper' as a task with that name already exists.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
(error 1)

To Reproduce
Steps to reproduce the behavior:

  1. Clone the project
  2. run gradle tasks with Gradle version 5+

Additional context
The issue is described in this stackoverflow question: https://stackoverflow.com/questions/53709282/cannot-add-task-wrapper-as-a-task-with-that-name-already-exists

@marci4 marci4 added this to the Release 1.4.1 milestone Jun 14, 2019
@marci4 marci4 removed the Bug label Jun 14, 2019
marci4 added a commit that referenced this issue Jun 16, 2019
Remove outdated 'wrapper' task from build.gradle (#907)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants