-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Gradle Configuration Cache #4252
Comments
Hi @smellouk, At the moment the Gradle configuration cache doesn't support all gradle features, some of the unsupported features are used in the I can't confirm at the moment if we are able to work around the current gradle configuration cache limitations. As a workaround, you can exclude the https://docs.sentry.io/platforms/react-native/sourcemaps/uploading/ |
@krystofwoldrich Thanks so much for looking into this matter 🙏! We’re working on a project that’s growing in complexity, and we’d like to optimize the Gradle configuration to reduce assembly time. Additionally, we have some automation tasks in place, and as a one-time setup, we’d like to enable the automatic upload of sourcemaps and ProGuard mappings. It’s not urgent for now, we disabled our gradle configuration cache for now, but we’d appreciate your help when possible. |
@romtsn @markushi @stefanosiano Our current |
@krystofwoldrich yep, it does. Configuration cache can speed up builds by quite a bit. |
What React Native libraries do you use?
React Native without Frameworks
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
5.25.0
How does your development environment look like?
OS: mac-os
arch: arm64
react native: 0.74.3-0
hermes enabled: true
Sentry.init()
Steps to Reproduce
SENTRY_DISABLE_AUTO_UPLOAD=false
SENTRY_AUTH_TOKEN=YOUR_TOKEN
org.gradle.configuration-cache=true
ingradle.properties
org.gradle.unsafe.configuration-cache-problems=warn
in gradle properties./gradlew assembleRelease
Expected Result
Building/Assembling APK or bundle tasks should succeed without error.
Actual Result
The text was updated successfully, but these errors were encountered: