[go] fix crashlytics gradle plugin build error (#23139)# Why building error for `./gradlew :app:assembleVersionedRelease` ``` FAILURE: Build failed with an exception. * What went wrong:
[go] fix crashlytics gradle plugin build error (#23139)# Why building error for `./gradlew :app:assembleVersionedRelease` ``` FAILURE: Build failed with an exception. * What went wrong: A problem was found with the configuration of task ':app:mergeVersionedReleaseNativeLibs' (type 'MergeNativeLibsTask'). - Gradle detected a problem with the following location: '/Users/kudo/01_Work/Repos/expo/expo/android/app/build/intermediates/merged_native_libs/versionedRelease/out'. Reason: Task ':app:injectCrashlyticsBuildIdsVersionedRelease' uses this output of task ':app:mergeVersionedReleaseNativeLibs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Possible solutions: 1. Declare task ':app:mergeVersionedReleaseNativeLibs' as an input of ':app:injectCrashlyticsBuildIdsVersionedRelease'. 2. Declare an explicit dependency on ':app:mergeVersionedReleaseNativeLibs' from ':app:injectCrashlyticsBuildIdsVersionedRelease' using Task#dependsOn. 3. Declare an explicit dependency on ':app:mergeVersionedReleaseNativeLibs' from ':app:injectCrashlyticsBuildIdsVersionedRelease' using Task#mustRunAfter. Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem. ``` # How - upgrade crashlytics gradle plugin. this issue probably relate to this: https://github.com/firebase/firebase-android-sdk/issues/4682 - since this pr touches `android/build.gradle`, it will trigger ci for building versioned expo-go and suffered from the error of "no space left" on github ci. i've tried to address the problem by some changes: - only upload crashlytics on eas build - add a composite github action to cleanup github linux runner disk space # Test Plan - ci passed - `./gradlew :app:assembleVersionedRelease`
show more ...