From 8e013a7ede61e809ec5e6668de3f2dd2b877cc61 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Tue, 18 Jun 2019 16:07:58 -0400 Subject: [PATCH] Update gradle to use android-jsc as instructed (#2893) --- android/app/build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 602bbcaa6..2f54f0454 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -114,8 +114,8 @@ android { } packagingOptions { - pickFirst 'lib/x86_64/libjsc.so' - pickFirst 'lib/arm64-v8a/libjsc.so' + pickFirst '**/libjsc.so' + pickFirst '**/libc++_shared.so' } defaultConfig { @@ -193,9 +193,6 @@ repositories { configurations.all { resolutionStrategy { eachDependency { DependencyResolveDetails details -> - if (details.requested.name == 'android-jsc') { - details.useTarget group: details.requested.group, name: 'android-jsc-intl', version: 'r241213' - } if (details.requested.name == 'play-services-base') { details.useTarget group: details.requested.group, name: details.requested.name, version: '15.0.1' } @@ -213,6 +210,9 @@ configurations.all { } dependencies { + // Make sure to put android-jsc at the top + implementation "org.webkit:android-jsc:r241213" + implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" implementation 'com.android.support:design:28.0.0'