Have this issue in a KMM project where I cannot see that available gradle tasks in the gradle panel but rather, I see the dependencies.
I am running Android Studio Arctic Fox 2020.3.1 Canary 15 which is the latest. Have tried deleting the .idea folder and also invalidating and restart. Still shows up the same.
With Android Studio 4.2.* the task list is not build during gradle sync for performance reason.
You should uncheck the box in the experimental features here: