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

A problem occurred when run build file build.gradle #90

Open
laraws opened this issue May 2, 2020 · 1 comment
Open

A problem occurred when run build file build.gradle #90

laraws opened this issue May 2, 2020 · 1 comment

Comments

@laraws
Copy link

laraws commented May 2, 2020

The error result is :

Build file '/var/java-projects/algs4/build.gradle' line: 81

A problem occurred evaluating root project 'algs4'.
> Cannot add task 'wrapper' as a task with that name already exists.
@hezhigang
Copy link
Contributor

in Intellij IDEA, have some little changes to build.gradle

wrapper {
  gradleVersion = '6.6.1'
}

and it run OK then.

seemed should use gradle 2.6 or later

I had created a PR#96 to fix it.

kevin-wayne added a commit that referenced this issue Oct 16, 2020
to fix issue #90 - A problem occurred when run build file build.gradle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants