react-native/template/android/app
Dulmandakh 38eb2a70af Enable Java8 (#23295)
Summary:
Running *lint* on RN found that there are some Java 8 features used without specifying Java 8 compatibility in projects. This PR adds Java 8 compatibility and fixes errors caused by Java 8 feature use. I suspend that it may be cause of many failures on older Androids, but also found that many modules/packages switched to and require Java 8.

```java
../../src/main/java/com/facebook/react/devsupport/BundleDownloader.java:167: Try-with-resources requires API level 19 (current min is 16)
../../src/main/java/com/facebook/react/devsupport/DevServerHelper.java:658: Try-with-resources requires API level 19 (current min is 16)
```

For more information https://developer.android.com/studio/write/java8-support

[Android] [Changed] - Enable Java 8
Pull Request resolved: https://github.com/facebook/react-native/pull/23295

Differential Revision: D13959096

Pulled By: cpojer

fbshipit-source-id: 0bfd0565b61a132906cf35ee55b4afcf5450f7cb
2019-02-05 10:18:27 -08:00
..
src apply Network Security Config file (fixes #22375) (part 2 of #23105) (#23135) 2019-02-01 06:36:18 -08:00
_BUCK Move react-native template 2018-12-07 07:49:19 -08:00
build.gradle Enable Java8 (#23295) 2019-02-05 10:18:27 -08:00
build_defs.bzl Move react-native template 2018-12-07 07:49:19 -08:00
debug.keystore add basic signature in template (#22665) 2018-12-17 13:34:36 -08:00
proguard-rules.pro Move react-native template 2018-12-07 07:49:19 -08:00