Android build fails - "Task :app:compileDebugJavaWithJavac FAILED"

I tried to implement the ‘react-native-push-notifications’ and ‘react-native-firebase’ and somehow managed to mess up my app.
Android builds failing now with the following message:

It’s been couple of days now I’m trying to solve this.

Any suggestion on how solving it will be much appreciated.

Build ID:

are you able to build your project locally? it looks like it wouldn’t compile anywhere, and likely unrelated to eas build itself. did you remove react-native-gesture-handler from your project without cleaning up the java code?

Problem was solved. Unrelated to eas indeed.
Sorry for bothering and thanks for trying to help.