Gradle tasks not shown in Eclipse
For Eclipse 2020-03 and Eclipse Buildship 3.1.3 you can adjust the filter of your Gradle Tasks view to "Show All Tasks". Then you see your tasks which do not have a group set in the "other" section.
The task "compileJava" has no group set and is showed in the other section only if the filter "Show All Tasks" is set:
I assume you are using Buildship.
The Gragle Tasks view 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