Update GradleUpgradeGuide.md

fixed configuration
This commit is contained in:
Jack Zhao 2018-05-17 23:21:14 +01:00 committed by GitHub
parent be8d8cc26c
commit cf895d3f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,11 +42,6 @@ allprojects {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
configurations.all {
resolutionStrategy {
force 'com.facebook.android:facebook-android-sdk:4.28.0'
}
}
}
}
@ -59,6 +54,15 @@ subprojects {
}
}
}
afterEvaluate {
project -> if (project.hasProperty("android")) {
android {
compileSdkVersion 26
buildToolsVersion '26.0.1'
}
}
}
}
```