Skip to content

SentryUploadNativeSymbolsTask is not configuration cache ready #730

Description

@cyrilmottier

Gradle Version

8.8

AGP Version

8.5.0

Code Minifier/Optimizer

R8

Version

4.5.1

Sentry SDK Version

7.6.0

Steps to Reproduce

Run :app:uploadSentryNativeSymbolsForRelease

Expected Result

I would expect this not to display any error or warning but it triggers

Task `:apps:capture:uploadSentryNativeSymbolsForRelease` of type `io.sentry.android.gradle.tasks.SentryUploadNativeSymbolsTask`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.8/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

Actual Result

If you look at the source code, the task is indeed reading Task.project here

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions