File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ allprojects {
27
27
28
28
apply plugin : ' com.android.library'
29
29
30
- def computeCompileSdkVersion = { -> project. hasProperty(" compileSdk" ) ? compileSdk : 24 }
30
+ def computeCompileSdkVersion = { -> project. hasProperty(" compileSdk" ) ? compileSdk : 28 }
31
31
def computeBuildToolsVersion = { ->
32
- project. hasProperty(" buildToolsVersion" ) ? buildToolsVersion : " 27 .0.3"
32
+ project. hasProperty(" buildToolsVersion" ) ? buildToolsVersion : " 28 .0.3"
33
33
}
34
34
35
35
android {
@@ -46,12 +46,20 @@ android {
46
46
}
47
47
48
48
dependencies {
49
- def supportVer = " 27 .0.1 "
49
+ def supportVer = " 28 .0.0 "
50
50
if (project. hasProperty(" supportVersion" )) {
51
51
supportVer = supportVersion
52
52
}
53
53
compileOnly " com.android.support:support-v4:$supportVer "
54
54
compileOnly " com.android.support:appcompat-v7:$supportVer "
55
+
56
+ configurations. all {
57
+ resolutionStrategy. eachDependency { DependencyResolveDetails details ->
58
+ if (details. requested. group == " com.android.support" && ! details. requested. name. startsWith(" multidex" )) {
59
+ details. useVersion supportVer
60
+ }
61
+ }
62
+ }
55
63
}
56
64
57
65
def getAppResourcesPath () {
You can’t perform that action at this time.
0 commit comments