firebase-android-sdk
firebase-android-sdk copied to clipboard
Crashlytics plugin causes mergeReleaseResources to never be up to date
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:
- For general technical questions, post a question on StackOverflow with the firebase tag.
- For general Firebase discussion, use the firebase-talk google group.
- For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Android Studio version: Android Studio Hedgehog | 2023.1.1 RC 3
- Firebase Component: Crashlytics gradle plugin
- Component version: 2.9.9
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
- Download and extract Project.zip
- Run
./gradlew mergeReleaseResources - Run
./gradlew mergeReleaseResourcesagain. Note that the task is not up to date even though it was just ran a second ago. - Comment out
id("com.google.firebase.crashlytics")line fromapp/build.gradle.kts - Perform steps 2-3 again.
- Note that task is up to date now. Crashlytics plugin was causing it to rerun every time.
Hey @matejdro, thanks for reaching out. Let me consult with our engineers and get some feedback.
@matejdro we have a prerelease of the next major version of the Crashlytics Gradle plugin, you can find it in https://github.com/firebase/firebase-android-sdk/issues/5733. One of the improvements is better behaving Gradle tasks.
I tested running the mergeReleaseResources task repeatedly and get "4 actionable tasks: 4 up-to-date" even if obfuscation is enabled. Closing this issue for now since the prerelease resolves this. Please let me know if this doesn't resolve the problem for you on the other issue.