From 5cd96cdd1b39f005ec8e27ef97572c8df2cfaba1 Mon Sep 17 00:00:00 2001 From: Krzysztof Magiera Date: Tue, 18 Dec 2018 13:14:43 +0100 Subject: [PATCH] Upgrade Example project --- Example/android/build.gradle | 17 ++++------------- .../gradle/wrapper/gradle-wrapper.properties | 2 +- Example/package.json | 2 +- Example/yarn.lock | 10 +++++++++- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Example/android/build.gradle b/Example/android/build.gradle index 49569e4d..e0da5772 100644 --- a/Example/android/build.gradle +++ b/Example/android/build.gradle @@ -2,32 +2,23 @@ buildscript { repositories { + google() jcenter() - maven { - url 'https://maven.google.com/' - name 'Google' - } } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files + classpath 'com.android.tools.build:gradle:3.1.4' } } allprojects { repositories { mavenLocal() - jcenter() + google() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url "$rootDir/../node_modules/react-native/android" } - maven { - url 'https://maven.google.com/' - name 'Google' - } + jcenter() } } diff --git a/Example/android/gradle/wrapper/gradle-wrapper.properties b/Example/android/gradle/wrapper/gradle-wrapper.properties index 81a86e21..1d5b29fb 100644 --- a/Example/android/gradle/wrapper/gradle-wrapper.properties +++ b/Example/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip diff --git a/Example/package.json b/Example/package.json index 85018ae8..763b02d0 100644 --- a/Example/package.json +++ b/Example/package.json @@ -10,7 +10,7 @@ "dependencies": { "react": "16.5.1", "react-native": "0.57.0", - "react-native-gesture-handler": "^1.0.10", + "react-native-gesture-handler": "^1.0.12", "react-native-screens": "file:..", "react-navigation": "^3.0.8" }, diff --git a/Example/yarn.lock b/Example/yarn.lock index 1052bb14..96e2f1f1 100644 --- a/Example/yarn.lock +++ b/Example/yarn.lock @@ -4235,7 +4235,7 @@ react-lifecycles-compat@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" -react-native-gesture-handler@^1.0.0, react-native-gesture-handler@^1.0.10: +react-native-gesture-handler@^1.0.0: version "1.0.10" resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-1.0.10.tgz#160e55e4886471931b7f7d52e22d94007540ab83" dependencies: @@ -4243,6 +4243,14 @@ react-native-gesture-handler@^1.0.0, react-native-gesture-handler@^1.0.10: invariant "^2.2.2" prop-types "^15.5.10" +react-native-gesture-handler@^1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-1.0.12.tgz#99a22f90212df299245357dbd3a9a01c788f310b" + dependencies: + hoist-non-react-statics "^2.3.1" + invariant "^2.2.2" + prop-types "^15.5.10" + react-native-safe-area-view@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/react-native-safe-area-view/-/react-native-safe-area-view-0.11.0.tgz#4f3dda43c2bace37965e7c6aef5fc83d4f19d174"