From 05cf33c90ea614df9dcf7d5f7306c08cb880886f Mon Sep 17 00:00:00 2001 From: Dick Smith Date: Fri, 18 May 2018 17:25:59 -0400 Subject: [PATCH] Fix. --- src/platforms/android/include.gradle | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/platforms/android/include.gradle b/src/platforms/android/include.gradle index 36ce731..7b58363 100644 --- a/src/platforms/android/include.gradle +++ b/src/platforms/android/include.gradle @@ -13,18 +13,8 @@ repositories { maven { url "https://jitpack.io" } } -// https://github.com/NativeScript/android-runtime/blob/master/test-app/app/build.gradle#L206 -def supportVersion = project.hasProperty("supportVersion") ? project.supportVersion : "27.0.1" - dependencies { - configurations.all { - resolutionStrategy.eachDependency { details -> - def requested = details.requested - if (requested.group == 'com.android.support' && requested.name != 'multidex') { - // com.android.support major version should match buildToolsVersion - details.useVersion "$supportVersion" - } - } + compile('com.github.yalantis:ucrop:2.2.2-native') { + transitive = false } - compile 'com.github.yalantis:ucrop:2.2.2-native' }