frank
frank

Reputation: 1201

eclipse new gradle project hold on task init

I am using gradle 5.2, eclipse 2018-12, buildship 3.0.

I specify the gradle local installation in eclipse config.

However when I try to create a new gradle project, it always hold on task:init, there is no gradle project is created.

enter image description here

enter image description here

enter image description here

enter image description here

Like above screenshot shows, it always say " task:init ", what is my problem?

Upvotes: 1

Views: 1104

Answers (3)

Mark
Mark

Reputation: 71

I just had the same issue.

I happened to also have the Gradle console open in Eclipse and I can see that there is a prompt for Groovy/Kotlin being presented.

Eclipse: 18.12, Gradle: 5.4.1, Buildship: 3.0.0.v20181106-1441-m

New Gradle Project

Using Eclipse to update from the "Latest Eclipse Release" software site to Eclipse 19.3 with Buildship 3.1 and it worked perfectly.

enter image description here

Upvotes: 0

frank
frank

Reputation: 1201

After I update the buildship from 3.0.0 to 3.0.1, now I can create success!

Upvotes: 0

mate00
mate00

Reputation: 2955

It would be good to try on creating this project from a command line, just to see if there is some output generated on console. I don't know what project you need specifically, but try for example:

gradle init --type java-application

Then we could see it problem occurs. If not, then it's an issue with your Eclipse setup.

Upvotes: 1

Related Questions