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
145 stars 33 forks source link

Circular dependency error #756

Open krystofwoldrich opened 3 months ago

krystofwoldrich commented 3 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 month 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.

feinstein commented 2 weeks ago

Hi, any updates on this bug? It's preventing me from updating my sentry version :/

markushi commented 1 week ago

@feinstein thanks for the ping. We're still looking into this, I'll keep you posted about any updates.