I updated to Android Studio 4.2 today. After the update was completed, I found that the task list was not displayed in the gradle menu item.
After reviewing the information and testing, I found that in Settings->Experimental
the menu panel Do not build Gradle task list during Gradle sync
, the switch of the function is selected. After turning off the switch, re-sync, and the task list will be displayed again after completion.