Gradle build failed with unknown error

im getting this errror while i was trying to make a a production build with EAS .im using Gradle 8.10.2 and
Android gradle plugin: 8.6.0 and using expo sdk 52.
what may be the issue.

Running 'gradlew :app:bundleRelease' in /home/expo/workingdir/build/android
Welcome to Gradle 8.10.2!
Here are the highlights of this release:
- Support for Java 23
 - Faster configuration cache
 - Better configuration cache reports
For more details see https://docs.gradle.org/8.10.2/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
> Task :gradle-plugin:settings-plugin:checkKotlinGradlePluginConfigurationErrors
> Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors
> Task :gradle-plugin:settings-plugin:pluginDescriptors
> Task :gradle-plugin:settings-plugin:processResources
> Task :gradle-plugin:shared:processResources NO-SOURCE
> Task :gradle-plugin:shared:compileKotlin
> Task :gradle-plugin:shared:compileJava NO-SOURCE
> Task :gradle-plugin:shared:classes UP-TO-DATE
> Task :gradle-plugin:shared:jar
> Task :gradle-plugin:settings-plugin:compileKotlin
> Task :gradle-plugin:settings-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:settings-plugin:classes
> Task :gradle-plugin:settings-plugin:jar
> Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors
> Task :expo-dev-launcher-gradle-plugin:checkKotlinGradlePluginConfigurationErrors
> Task :expo-dev-launcher-gradle-plugin:pluginDescriptors
> Task :expo-dev-launcher-gradle-plugin:processResources
> Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors
> Task :gradle-plugin:react-native-gradle-plugin:processResources
> Task :gradle-plugin:react-native-gradle-plugin:compileKotlin
> Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:react-native-gradle-plugin:classes
> Task :gradle-plugin:react-native-gradle-plugin:jar
> Task :expo-dev-launcher-gradle-plugin:compileKotlin
> Task :expo-dev-launcher-gradle-plugin:compileJava NO-SOURCE
> Task :expo-dev-launcher-gradle-plugin:classes
> Task :expo-dev-launcher-gradle-plugin:jar
> Configure project :app
 ℹ️  e[33mApplying gradle plugine[0m 'e[32mexpo-dev-launcher-gradle-plugine[0m' (expo-dev-launcher@5.0.25)
> Configure project :expo
Using expo modules
  - e[32mexpo-assete[0m (11.0.1)
  - e[32mexpo-blure[0m (14.0.1)
  - e[32mexpo-constantse[0m (17.0.3)
  - e[32mexpo-dev-cliente[0m (5.0.10)
  - e[32mexpo-dev-launchere[0m (5.0.25)
  - e[32mexpo-dev-menue[0m (6.0.18)
  - e[32mexpo-file-systeme[0m (18.0.6)
  - e[32mexpo-fonte[0m (13.0.2)
  - e[32mexpo-hapticse[0m (14.0.0)
  - e[32mexpo-imagee[0m (2.0.3)
  - e[32mexpo-json-utilse[0m (0.14.0)
  - e[32mexpo-keep-awakee[0m (14.0.1)
  - e[32mexpo-linkinge[0m (7.0.3)
  - e[32mexpo-manifestse[0m (0.15.5)
  - e[32mexpo-modules-coree[0m (2.1.2)
  - e[32mexpo-splash-screene[0m (0.29.18)
  - e[32mexpo-system-uie[0m (4.0.6)
  - e[32mexpo-web-browsere[0m (14.0.1)
FAILURE:
Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:buildReleasePreBundle'.
>
Could not resolve all dependencies for configuration ':app:releaseRuntimeClasspath'.
   > Could not resolve project :react-native-firebase_app.
     Required by:
         project :app
> No matching variant of project :react-native-firebase_app was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- No variants exist.
   > Could not resolve project :react-native-firebase_auth.
Required by:
         project :app
> No matching variant of project :react-native-firebase_auth
was found. The consumer was configured to find
a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- No variants exist.
   >
Could not resolve project :react-native-firebase_crashlytics.
     Required by:
         project :app
> No matching variant of project :react-native-firebase_crashlytics was found. The consumer was configured to find
a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm'
but:
          - No variants exist.
> Could not resolve project :react-native-firebase_firestore.
     Required by:
project :app
      > No matching variant of
project :react-native-firebase_firestore was found. The consumer was configured to find
a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
   > Could not resolve project :react-native-google-signin_google-signin.
     Required by:
         project :app
      > No matching variant of project :react-native-google-signin_google-signin was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
   > Could not resolve project :react-native-fbsdk-next.
     Required by:
         project :app
      > No matching variant of project :react-native-fbsdk-next was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
   > Could not resolve project :react-native-gesture-handler.
     Required by:
         project :app
      > No matching variant of project :react-native-gesture-handler was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
   > Could not resolve project :react-native-reanimated.
     Required by:
         project :app
      > No matching variant of project :react-native-reanimated was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
   > Could not resolve project :react-native-safe-area-context.
     Required by:
         project :app
      > No matching variant of project :react-native-safe-area-context was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
   > Could not resolve project :react-native-screens.
     Required by:
         project :app
      > No matching variant of project :react-native-screens was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
   > Could not resolve project :react-native-svg.
     Required by:
         project :app
      > No matching variant of project :react-native-svg was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
   > Could not resolve project :react-native-webview.
     Required by:
         project :app
      > No matching variant of project :react-native-webview was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
* Try:
> Creating consumable variants is explained in more detail at https://docs.gradle.org/8.10.2/userguide/declaring_dependencies.html#sec:resolvable-consumable-configs.
> Review the variant matching algorithm at https://docs.gradle.org/8.10.2/userguide/variant_attributes.html#sec:abm_algorithm.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1m 24s
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
18 actionable tasks: 18 executed
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

As far as I understood your description, it is not you who maintains the Gradle build, but some tool you use generates and runs it for you.
If that is the case, this is the wrong community, but you should head to some EAS community, whatever that is, if that is the tool generating your build for you.