Skip to content

Commit 9f216b2

Browse files
authored
Merge pull request #32 from DickSmith/master
fix(compile): compile too agressive
2 parents 9d6eb80 + 05cf33c commit 9f216b2

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

src/platforms/android/include.gradle

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,8 @@ repositories {
1313
maven { url "https://jitpack.io" }
1414
}
1515

16-
// https://github.com/NativeScript/android-runtime/blob/master/test-app/app/build.gradle#L206
17-
def supportVersion = project.hasProperty("supportVersion") ? project.supportVersion : "27.0.1"
18-
1916
dependencies {
20-
configurations.all {
21-
resolutionStrategy.eachDependency { details ->
22-
def requested = details.requested
23-
if (requested.group == 'com.android.support' && requested.name != 'multidex') {
24-
// com.android.support major version should match buildToolsVersion
25-
details.useVersion "$supportVersion"
26-
}
27-
}
17+
compile('com.github.yalantis:ucrop:2.2.2-native') {
18+
transitive = false
2819
}
29-
compile 'com.github.yalantis:ucrop:2.2.2-native'
3020
}

0 commit comments

Comments
 (0)