SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

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
N
Nicola Corti committed
3d8a7fe14a2fd38124bffef8e4b8d2b1b56beba2
Parent: a6c792d
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 2/9/2022, 8:06:54 PM