firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

"Circular dependency" with `injectCrashlyticsMappingFileId` task in `firebase-crashlytics-gradle` version `3.0.0`

Open yogurtearl opened this issue 2 months ago • 2 comments

[READ] Step 1: Are you in the right place?

yes

[REQUIRED] Step 2: Describe your environment

Using https://github.com/android/nowinandroid on main at commit afad1b9a

[REQUIRED] Step 3: Describe the problem

Upgrading from 2.9.9 to 3.0.0 of firebase-crashlytics-gradle with no other changes cause the builds to fail with this message:

FAILURE: Build failed with an exception.

* What went wrong:
Circular dependency between the following tasks:
:app:extractDeepLinksDemoDebug
\--- :app:injectCrashlyticsMappingFileIdDemoDebug
     \--- :app:kspDemoDebugKotlin
          \--- :app:processDemoDebugResources
               +--- :app:mapDemoDebugSourceSetPaths
               |    \--- :app:injectCrashlyticsMappingFileIdDemoDebug (*)
               +--- :app:mergeDemoDebugResources
               |    \--- :app:injectCrashlyticsMappingFileIdDemoDebug (*)
               +--- :app:parseDemoDebugLocalResources
               |    \--- :app:packageDemoDebugResources
               |         \--- :app:injectCrashlyticsMappingFileIdDemoDebug (*)
               +--- :app:processDemoDebugManifest
               |    \--- :app:processDemoDebugMainManifest
               |         \--- :app:extractDeepLinksDemoDebug (*)
               \--- :app:processDemoDebugManifestForPackage
                    \--- :app:processDemoDebugManifest (*)

Steps to reproduce:

Clone https://github.com/android/nowinandroid and upgrade to firebase-crashlytics-gradle version 3.0.0

yogurtearl avatar May 03 '24 19:05 yogurtearl

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar May 03 '24 19:05 google-oss-bot

@yogurtearl Thanks for reporting! I think this is a duplicate of #5925

thatfiredev avatar May 03 '24 20:05 thatfiredev

Closing since this is the same issue.

mrober avatar May 07 '24 15:05 mrober