Skip to content

Make Crashlytics plugin compatible with Gradle configuration cache #1750

@CristianGM

Description

@CristianGM

What feature would you like to see?

The configuration cache is a feature that significantly improves build performance by caching the result of the configuration phase and reusing this for subsequent builds.

Implementing support for the configuration cache in this plugin would improve users experience.

See https://docs.gradle.org/nightly/userguide/configuration_cache.html

The configuration cache will be introduced in Gradle 6.6.
But this can already be tested using 6.6-milestone-2.

I tried running assemble with a Gradle 6.6-milestone-2, com.google.firebase:firebase-crashlytics-gradle:2.2.0 and the configuration cache enabled.
The first time it works because the configuration is not from the cache but when "Reusing configuration cache" it breaks the build with:

  • What went wrong:
    Execution failed for task ':app:injectCrashlyticsMappingFileIdDebug'.

No such property: resourceFile for class: java.lang.Object

How would you use it?

It would just make every build faster.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions