From cf895d3f4fab61dc483f0c298372815ce0251e0f Mon Sep 17 00:00:00 2001 From: Jack Zhao Date: Thu, 17 May 2018 23:21:14 +0100 Subject: [PATCH] Update GradleUpgradeGuide.md fixed configuration --- docs/GradleUpgradeGuide.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/GradleUpgradeGuide.md b/docs/GradleUpgradeGuide.md index cc4dafc..7cb5a22 100644 --- a/docs/GradleUpgradeGuide.md +++ b/docs/GradleUpgradeGuide.md @@ -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' + } + } + } } ```