react-native-macos/packages/react-native-gradle-plugin
Nicola Corti 5f3c5aa529 Extend the React Native Gradle plugin to accept a config from package.json
Summary:
This extends the Gradle plugin to allow configuration for `codegenConfig` from the
`package.json` that lives in one of the root folder.

There are a couple of points open for discussion. The most important one
is that now we're moving from absolute paths to relative paths, from the
package.json location. I'm not entirely sure this will work correctly
for users in monorepos, so we might consider this carefully.

Moreover, I've moved the `codegenJavaPackageName` to be `android.javaPackageName`.
Happy to discuss this further.

Changelog:
[Android] [Added] - Extend the React Native Gradle plugin to accept a config from package.json

Reviewed By: cipolleschi

Differential Revision: D36374475

fbshipit-source-id: fe669ebd5bc92abbbe57677c1995d0e01f2400d7
2022-05-23 07:58:41 -07:00
..
gradle/wrapper Bump Gradle to 7.4.2 (#33823) 2022-05-13 07:26:00 -07:00
src Extend the React Native Gradle plugin to accept a config from package.json 2022-05-23 07:58:41 -07:00
BUCK Create @fb-tools-support/yarn package 2022-01-28 08:22:17 -08:00
README.md Add a README before publishing this package 2021-09-27 09:23:33 -07:00
build.gradle.kts Setup a top level buildAll Gradle task (#33838) 2022-05-16 09:27:54 -07:00
gradlew bump gradle to 7.3 (#32588) 2021-11-15 06:47:39 -08:00
gradlew.bat Re-sync with internal repository (#32212) 2021-09-15 10:45:06 +01:00
package.json Bump React Native Gradle plugin to 0.0.7 2022-04-27 09:41:11 -07:00
settings.gradle.kts Configure plugin repositories to use Gradle Portal last 2022-01-13 06:02:44 -08:00

README.md

react-native-gradle-plugin

Version

A Gradle Plugin used to support development of React Native applications for Android.

Installation

yarn add react-native-gradle-plugin

Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like