I've a gradle project structure and I'm using eclipse. I've installed gradle plugin for eclipse.
However tasks aren't shown in Gradle Tasks Panel, so I'm not able to launch these ones.
project/
build.gradle
settings.gradle
.project
.classpath
I'm able to perform any task using command line.
Any ideas?
I assume you are using Buildship.
The TasksView only shows tasks having properties group
and description
task myTask {
group = 'my group'
description = 'my description'
}
After changing your build.gradle
you must 1.) gradle-refresh the project and 2.) refresh the TasksView
You have added an existing gradle project via import, which may be causing the issue. To resolve it, you can edit the .project
file and restart Eclipse.
You can check for differences by comparing the .profile
file from this project with that of a new (empty) gradle project.