This repository was archived by the owner on Apr 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -463,13 +463,18 @@ repositories {
463463def supportVersion = project.hasProperty("supportVersion") ? project.supportVersion : "26.0.0"
464464def googlePlayServicesVersion = project.hasProperty('googlePlayServicesVersion') ? project.googlePlayServicesVersion : "12.0.1"
465465
466+ if ( VersionNumber.parse( googlePlayServicesVersion ) < VersionNumber.parse( '9.2' ) ) {
467+ throw new GradleException('Google Play services version too low, please update to at least 9.2');
468+ }
469+
466470dependencies {
467471 compile "com.android.support:appcompat-v7:$supportVersion"
468472 compile "com.android.support:cardview-v7:$supportVersion"
469473 compile "com.android.support:customtabs:$supportVersion"
470474 compile "com.android.support:design:$supportVersion"
471475 compile "com.android.support:support-compat:$supportVersion"
472476
477+
473478
474479 // make sure you have these versions by updating your local Android SDK's (Android Support repo and Google repo)
475480 compile "com.google.firebase:firebase-core:$googlePlayServicesVersion"
You can’t perform that action at this time.
0 commit comments