Closed PaulWoitaschek closed 3 years ago
@PaulWoitaschek thanks for reporting, yes, we are currently planning a full rewrite of this plugin #2
https://docs.gradle.org/current/userguide/configuration_cache.html
The configuration cache is an incubating feature, and the details described here may change.
let's wait a bit more before working on it as its still incubating
should be fixed by #166 and #165, can you test it out with the latest version @PaulWoitaschek ? thanks
tested with Sentry Android Gradle Plugin 2.1.4, AGP 7.0.1, Gradle 7.2
you may need to treat errors as warnings though, due to an AGP issue:
org.gradle.unsafe.configuration-cache-problems=warn
1 problem was found storing the configuration cache.
- Task
:app:collectReleaseDependencies
of typecom.android.build.gradle.internal.tasks.PerModuleReportDependenciesTask
: invocation of 'Task.project' at execution time is unsupported. See https://docs.gradle.org/7.2/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
but that's not Sentry Android Gradle Plugin's fault
The sentry gradle plugin ins incompatible with the gradle configuration cache. https://docs.gradle.org/current/userguide/configuration_cache.html
The stacktrace is as follows:
I'm using the following versions: