File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ allprojects {
2727
2828apply plugin : ' com.android.library'
2929
30- def computeCompileSdkVersion = { -> project. hasProperty(" compileSdk" ) ? compileSdk : 24 }
30+ def computeCompileSdkVersion = { -> project. hasProperty(" compileSdk" ) ? compileSdk : 28 }
3131def computeBuildToolsVersion = { ->
32- project. hasProperty(" buildToolsVersion" ) ? buildToolsVersion : " 27 .0.3"
32+ project. hasProperty(" buildToolsVersion" ) ? buildToolsVersion : " 28 .0.3"
3333}
3434
3535android {
@@ -46,12 +46,20 @@ android {
4646}
4747
4848dependencies {
49- def supportVer = " 27 .0.1 "
49+ def supportVer = " 28 .0.0 "
5050 if (project. hasProperty(" supportVersion" )) {
5151 supportVer = supportVersion
5252 }
5353 compileOnly " com.android.support:support-v4:$supportVer "
5454 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+ }
5563}
5664
5765def getAppResourcesPath () {
You can’t perform that action at this time.
0 commit comments