You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading to Gradle 8.11.1 in a native Android project and encountering issues generating a release build due to a problem with the Sentry Gradle plugin.
The issue occurs only when the configuration cache is enabled org.gradle.configuration-cache=true, specifically on Gradle versions above 8.10. We are currently running without issues with config cache enabled on Gradle 8.8, and have also tested successfully on 8.9.
Could not load the value of field __sentryTelemetryService__ of task :app:uploadSentryProguardMappings******Release of type io.sentry.android.gradle.tasks.SentryUploadProguardMappingsTask.
Cannot set the value of a property of type io.sentry.android.gradle.telemetry.SentryTelemetryService using a provider of type io.sentry.android.gradle.telemetry.SentryTelemetryService.
The text was updated successfully, but these errors were encountered:
Gradle Version
8.11.1
AGP Version
8.6.1
Code Minifier/Optimizer
R8
Version
4.14.1
Sentry SDK Version
7.16.0
Steps to Reproduce
Upgrading to Gradle 8.11.1 in a native Android project and encountering issues generating a release build due to a problem with the Sentry Gradle plugin.
The issue occurs only when the configuration cache is enabled org.gradle.configuration-cache=true, specifically on Gradle versions above 8.10. We are currently running without issues with config cache enabled on Gradle 8.8, and have also tested successfully on 8.9.
Gradle configs:
Sentry Plugin Config
Expected Result
Successful build.
Actual Result
Error:
Could not load the value of field
__sentryTelemetryService__
of task:app:uploadSentryProguardMappings******Release
of typeio.sentry.android.gradle.tasks.SentryUploadProguardMappingsTask
.The text was updated successfully, but these errors were encountered: