Skip to content

Commit df4ae93

Browse files
authored
Merge pull request zo0r#1170 from owinter86/patch-1
Fix undefined fallback variables in build gradle
2 parents a053268 + fe1da09 commit df4ae93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ android {
4343
}
4444

4545
dependencies {
46-
def supportLibVersion = project.hasProperty('supportLibVersion') ? project.supportLibVersion : DEFAULT_SUPPORT_LIB_VERSION
47-
def googlePlayServicesVersion = project.hasProperty('googlePlayServicesVersion') ? project.googlePlayServicesVersion : DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
48-
def firebaseVersion = project.hasProperty('firebaseVersion') ? project.firebaseVersion : DEFAULT_FIREBASE_MESSAGING_VERSION
46+
def supportLibVersion = safeExtGet('supportLibVersion', '27.1.1')
47+
def googlePlayServicesVersion = safeExtGet('googlePlayServicesVersion', '+')
48+
def firebaseVersion = safeExtGet('firebaseVersion', '+')
4949

5050
implementation fileTree(dir: 'libs', include: ['*.jar'])
5151
testImplementation 'junit:junit:4.12'

0 commit comments

Comments
 (0)