Upgrade Example project

This commit is contained in:
Krzysztof Magiera
2018-12-18 13:14:43 +01:00
parent bf0cca0bae
commit 5cd96cdd1b
4 changed files with 15 additions and 16 deletions

View File

@@ -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()
}
}

View File

@@ -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

View File

@@ -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"
},

View File

@@ -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"