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:
9e7a9e16-855a-4e8c-82e7-f7291b8633c8

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.