Files
react-native/packages/react-native-gradle-plugin
Nicola Corti 3d8a7fe14a Set Java source/target compatibility for react-native-gradle-plugin to 8
Summary:
This is necessary otherwise when building from source on JVM < 11, the `compileJava`
task of the Gradle Plugin will fail with `invalid source: 11`.
Essentially the Gradle build will not even start because of this. Instead we delegate
to a better formatted warning from either AGP or from our plugin.

Changelog:
[Internal] [Changed] - Set Java source/target compatibility for react-native-gradle-plugin to 8

Reviewed By: ShikaSD

Differential Revision: D34111799

fbshipit-source-id: 57ab11fe6c4532576776b586f75e8fcb5c71adcd
2022-02-09 12:06:54 -08:00
..
2022-01-28 08:22:17 -08:00
2021-11-15 06:47:39 -08:00
2022-01-12 09:38:14 -08:00

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