Skip to content

Commit

Permalink
Merge pull request #32 from DickSmith/master
Browse files Browse the repository at this point in the history
fix(compile): compile too agressive
  • Loading branch information
shiv19 authored May 25, 2018
2 parents 9d6eb80 + 05cf33c commit 9f216b2
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/platforms/android/include.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

0 comments on commit 9f216b2

Please sign in to comment.