Sfoglia il codice sorgente

resolve android support library versions clash

Oleksandr Kucherenko 6 anni fa
parent
commit
31ec6a0fbc
1 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. 14
    0
      example/android/build.gradle

+ 14
- 0
example/android/build.gradle Vedi File

@@ -37,3 +37,17 @@ allprojects {
37 37
         }
38 38
     }
39 39
 }
40
+
41
+
42
+subprojects {
43
+    configurations.all {
44
+        resolutionStrategy {
45
+            eachDependency { details ->
46
+                /* Override by group name */
47
+                switch (details.requested.group) {
48
+                    case 'com.android.support': details.useVersion '27.+'; break
49
+                }
50
+            }
51
+        }
52
+    }
53
+}