From 130a3329fc7613e8edb74c408ddf39c27c26be29 Mon Sep 17 00:00:00 2001 From: Geraint White Date: Fri, 19 Mar 2021 10:09:20 +0000 Subject: [PATCH] Fix conflicting RN gradle dependency Switch RN dependency to compileOnly to avoid conflict when used in projects with newer RN version --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 43f39d8..9fca584 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -34,6 +34,6 @@ repositories { } dependencies { - compile 'com.facebook.react:react-native:0.20.+' + compileOnly 'com.facebook.react:react-native:0.20.+' } - \ No newline at end of file +