feat: Add react-native 0.65 support (#378)

* fix `;`

* upgrade react-native to 0.65.1

* upgrade example to react-native 0.65.1

* Update Podfile.lock

* Update Podfile.lock

* add `jcenter()` temporarily

* upgrade gradle tools (kotlin, build-tools, swipe-to-refresh)

* Upgrade `react-native-navigation` to `7.18.1-snapshot.1611`

* chore(deps): Upgrade a few more deps
This commit is contained in:
Marc Rousavy
2021-08-20 11:53:40 +02:00
committed by GitHub
parent 8e02b49c16
commit cae08a1402
11 changed files with 810 additions and 979 deletions

View File

@@ -4,10 +4,10 @@ import java.nio.file.Paths
def reactNative = new File("$projectDir/../node_modules/react-native")
def FOR_HERMES = System.getenv("FOR_HERMES") == "True";
def FOR_HERMES = System.getenv("FOR_HERMES") == "True"
rootProject.getSubprojects().forEach({project ->
if (project.plugins.hasPlugin("com.android.application")) {
FOR_HERMES = project.ext.react.enableHermes;
FOR_HERMES = project.ext.react.enableHermes
}
})
@@ -52,14 +52,14 @@ buildscript {
repositories {
google()
jcenter()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'de.undercouch:gradle-download-task:4.1.2'
// noinspection DifferentKotlinGradleVersion
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@@ -136,7 +136,6 @@ android {
repositories {
mavenCentral()
jcenter()
google()
def found = false

View File

@@ -15,6 +15,6 @@ VisionCamera_buildToolsVersion=30.0.0
VisionCamera_compileSdkVersion=30
VisionCamera_kotlinVersion=1.5.0
VisionCamera_targetSdkVersion=30
VisionCamera_ndkVersion=22.0.7026061
VisionCamera_ndkVersion=20.1.5948944
android.enableJetifier=true
android.useAndroidX=true

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists