getsentry / sentry-android-gradle-plugin

Gradle plugin for Sentry Android. Upload proguard, debug files, and more.
https://docs.sentry.io/platforms/android/gradle/
MIT License
142 stars 32 forks source link

Circular dependency error #756

Open krystofwoldrich opened 2 months ago

krystofwoldrich commented 2 months ago

Description

This is an umbrella issue for circular deps issues from other platforms.

Related issues

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 ()
martinhaintz commented 1 week ago

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.