From 91bde9f5c790fe61728f73056543a7c85b34c535 Mon Sep 17 00:00:00 2001 From: Almir Filho Date: Fri, 29 Mar 2019 14:01:41 -1000 Subject: [PATCH] Replace deprecated `compile` in favor of `implementation` for gradle build --- README.md | 4 ++-- android/build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a675ea11..373c7ee8 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ If automatic linking does not work, you can manually link this library by follow 1. Open your project in Xcode, right click on `Libraries` and click `Add Files to "Your Project Name"` Look under `node_modules/react-native-cookies/ios` and add `RNCookieManagerIOS.xcodeproj`. -2. Add `libRNCookieManagerIOS.a` to `Build Phases -> Link Binary With Libraries. +2. Add `libRNCookieManagerIOS.a` to `Build Phases -> Link Binary With Libraries`. 3. Clean and rebuild your project ##### Android @@ -53,7 +53,7 @@ project(':react-native-cookies').projectDir = new File(rootProject.projectDir, ' ```gradle dependencies { ... - compile project(':react-native-cookies') + implementation project(':react-native-cookies') } ``` diff --git a/android/build.gradle b/android/build.gradle index 2a6cc11d..35f09224 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -34,5 +34,5 @@ repositories { } dependencies { - compile 'com.facebook.react:react-native:+' + implementation 'com.facebook.react:react-native:+' }