Browse Source

build: update to react native 0.65.1

Arnaud Vergnet 2 years ago
parent
commit
6104b88815

+ 1
- 6
android/app/build.gradle View File

@@ -141,11 +141,6 @@ android {
141 141
 
142 142
     compileSdkVersion rootProject.ext.compileSdkVersion
143 143
 
144
-    compileOptions {
145
-        sourceCompatibility JavaVersion.VERSION_1_8
146
-        targetCompatibility JavaVersion.VERSION_1_8
147
-    }
148
-
149 144
     defaultConfig {
150 145
         applicationId 'fr.amicaleinsat.application'
151 146
         minSdkVersion rootProject.ext.minSdkVersion
@@ -238,7 +233,7 @@ dependencies {
238 233
 // Run this once to be able to run the application with BUCK
239 234
 // puts all compile dependencies into folder libs for BUCK to use
240 235
 task copyDownloadableDepsToLibs(type: Copy) {
241
-    from configurations.compile
236
+    from configurations.implementation
242 237
     into 'libs'
243 238
 }
244 239
 

+ 6
- 6
android/build.gradle View File

@@ -2,18 +2,18 @@
2 2
 
3 3
 buildscript {
4 4
     ext {
5
-        buildToolsVersion = "29.0.3"
5
+        buildToolsVersion = "30.0.2"
6 6
         minSdkVersion = 23
7
-        compileSdkVersion = 29
8
-        targetSdkVersion = 29
7
+        compileSdkVersion = 30
8
+        targetSdkVersion = 30
9 9
         ndkVersion = "20.1.5948944"
10 10
     }
11 11
     repositories {
12 12
         google()
13
-        jcenter()
13
+        mavenCentral()
14 14
     }
15 15
     dependencies {
16
-        classpath("com.android.tools.build:gradle:4.1.0")
16
+        classpath("com.android.tools.build:gradle:4.2.1")
17 17
 
18 18
         // NOTE: Do not place your application dependencies here; they belong
19 19
         // in the individual module build.gradle files
@@ -22,6 +22,7 @@ buildscript {
22 22
 
23 23
 allprojects {
24 24
     repositories {
25
+        mavenCentral()
25 26
         mavenLocal()
26 27
         maven {
27 28
             // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
@@ -36,7 +37,6 @@ allprojects {
36 37
             url "$rootDir/../node_modules/expo-camera/android/maven"
37 38
         }
38 39
         google()
39
-        jcenter()
40 40
         maven { url 'https://www.jitpack.io' }
41 41
     }
42 42
 }

+ 1
- 1
android/gradle.properties View File

@@ -24,4 +24,4 @@ android.useAndroidX=true
24 24
 # Automatically convert third-party libraries to use AndroidX
25 25
 android.enableJetifier=true
26 26
 # Version of flipper SDK to use with React Native
27
-FLIPPER_VERSION=0.75.1
27
+FLIPPER_VERSION=0.93.0

+ 1
- 1
android/gradle/wrapper/gradle-wrapper.properties View File

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

+ 1
- 2
ios/Podfile View File

@@ -1,7 +1,7 @@
1 1
 require_relative '../node_modules/react-native/scripts/react_native_pods'
2 2
 require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
3 3
 
4
-platform :ios, '10.0'
4
+platform :ios, '11.0'
5 5
 
6 6
 target 'Campus' do
7 7
   config = use_native_modules!
@@ -28,5 +28,4 @@ target 'Campus' do
28 28
   post_install do |installer|
29 29
     react_native_post_install(installer)
30 30
   end
31
-
32 31
 end

+ 9577
- 6422
package-lock.json
File diff suppressed because it is too large
View File


+ 5
- 4
package.json View File

@@ -29,8 +29,8 @@
29 29
     "@react-navigation/stack": "5.14.5",
30 30
     "i18n-js": "3.8.0",
31 31
     "moment": "2.29.1",
32
-    "react": "17.0.1",
33
-    "react-native": "0.64.2",
32
+    "react": "17.0.2",
33
+    "react-native": "0.65.1",
34 34
     "react-native-animatable": "1.3.3",
35 35
     "react-native-app-intro-slider": "4.0.4",
36 36
     "react-native-appearance": "0.3.4",
@@ -78,11 +78,12 @@
78 78
     "jest": "26.6.3",
79 79
     "jest-extended": "0.11.5",
80 80
     "jest-fetch-mock": "3.0.3",
81
-    "metro-react-native-babel-preset": "0.65.2",
81
+    "metro-react-native-babel-preset": "0.66.0",
82 82
     "prettier": "2.3.2",
83 83
     "react-native-clean-project": "3.6.4",
84
+    "react-native-codegen": "0.0.7",
84 85
     "react-native-version": "4.0.0",
85
-    "react-test-renderer": "17.0.1",
86
+    "react-test-renderer": "17.0.2",
86 87
     "typescript": "4.3.5"
87 88
   },
88 89
   "eslintConfig": {

Loading…
Cancel
Save