Suppory Gradle configuration cache
See original GitHub issueUsing a new Gradle 7 feature with
org.gradle.unsafe.configuration-cache=true
I get the warning: Calculating task graph as configuration cache cannot be reused because cached version information for com.facebook.react:react-native:+ has expired.
This issue should be improved, otherwise the new feature and performance gain cannot be used in a project using React Native.
Gradle documentation: https://docs.gradle.org/current/userguide/configuration_cache.html
Using com.facebook.react:react-native:+ is still the preferred way in build.gradle, right?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Configuration cache - Gradle User Manual
The configuration cache takes care of caching the build configuration for a particular set of tasks. In other words, the configuration cache saves...
Read more >How to I enable Gradle configuration cache feature persistently?
The configuration cache takes care of caching the build configuration for a particular set of tasks. In other words, the configuration cache ......
Read more >Gradle Configuration Caching — Replacing ... - ProAndroidDev
Gradle recently rolled out a new feature called the “configuration cache” aimed at “significantly improving build performance by caching the result of the ......
Read more >Configuration caching deep dive - Medium
gradle /configuration-cache directory ). It is able to serialize all Gradle-managed types (e.g. FileCollection , Property , Provider ) and all ...
Read more >Incompatibility issue with Gradle configuration cache #7299
The configuration cache is a feature that significantly improves build performance by caching the result of the configuration phase and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s why we got rid of it in 0.71
We’re working towards getting rid of
react.gradle
entirely in favor of thereact-native-gradle-plugin
which will support also Configuration Caching.There is a version of the Gradle plugin already out: https://www.npmjs.com/package/react-native-gradle-plugin
More on this also here https://github.com/react-native-community/discussions-and-proposals/issues/273