mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48745 This is the first step in a series of diff to make RNGP more Gradle-compliant (specifically for the sake of configuration caching). Specifically the problem in those 2 tasks is that we're accessing `project.copy()` and other functions from the `project` field. The project should never be accessed at execution time. See more on this here: https://docs.gradle.org/8.12/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution This diff fixes it. Changelog: [Internal] [Changed] - Reviewed By: cipolleschi Differential Revision: D68282777 fbshipit-source-id: 6d474f266b5bc50fba57c8cd478173c995864bbc
React Native Gradle Plugin
This plugin is used by React Native Apps to configure themselves.
NOTE: It's important that this folder is called react-native-gradle-plugin as it's used
by users in their build.gradle file as follows:
buildscript {
// ...
dependencies {
classpath("com.facebook.react:react-native-gradle-plugin")
}
}
The name of the artifact is imposed by the folder name.