Circular dependency error
Description
This is an umbrella issue for circular deps issues from other platforms.
Related issues
- React Native https://github.com/getsentry/sentry-react-native/issues/3644
- Flutter https://github.com/getsentry/sentry-dart/issues/2219
Example Error
:app:compileReleaseJavaWithJavac
--- :app:processReleaseResources
+--- :app:mapReleaseSourceSetPaths
| --- :app:mergeReleaseResources
| --- :app:copyReleaseBundledJs
| --- :app:mergeReleaseAssets
| --- :app:generateSentryDebugMetaPropertiesRelease
| --- :app:generateSentryProguardUuidRelease
| --- :app:minifyReleaseWithR8
| +--- :app:mergeReleaseGeneratedProguardFiles
| | +--- :app:compileReleaseJavaWithJavac ()
| | --- :app:processReleaseResources ()
| +--- :app:processReleaseResources ()
| --- :app:transformReleaseClassesWithAsm
| +--- :app:compileReleaseJavaWithJavac ()
| --- :app:processReleaseResources ()
--- :app:mergeReleaseResources ()
Hey @markushi @krystofwoldrich, as I read in the RN issue https://github.com/getsentry/sentry-react-native/issues/3644 and Flutter issue https://github.com/getsentry/sentry-dart/issues/2219, there are problems with reproducing this issue.
So I uploaded the flutter counter app with this issue here: https://github.com/martinhaintz/sentry-circular-dependency
Let me know if you need something.
Hi, any updates on this bug? It's preventing me from updating my sentry version :/
@feinstein thanks for the ping. We're still looking into this, I'll keep you posted about any updates.
hi, we're going to close this issue as it should be addressed when you're using AGP 7.4+ (2.5 years old at this point). See this troubleshooting page entry for more details: https://docs.sentry.io/platforms/dart/guides/flutter/troubleshooting/#sentry-android-gradle-plugin-circular-dependency.
If you're still facing this issue with a newer version of AGP, feel free to comment here or open a new issue.