Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

Commit 0704f9d

Browse files
friederbluemleasdolo
authored andcommitted
Allow setting of play-services version through ext (react-native-maps#2765)
1 parent e324a1e commit 0704f9d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ buildscript {
33
minSdkVersion = 16
44
compileSdkVersion = 28
55
targetSdkVersion = 27
6-
supportLibVersion = "28.0.0"
6+
supportLibVersion = '28.0.0'
7+
playServicesVersion = '16.1.0'
78
}
89
repositories {
910
google()

lib/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies {
2121
exclude group: 'com.android.support'
2222
}
2323
implementation "com.android.support:appcompat-v7:${safeExtGet('supportLibVersion', '28.0.0')}"
24-
implementation 'com.google.android.gms:play-services-base:16.1.0'
25-
implementation 'com.google.android.gms:play-services-maps:16.1.0'
24+
implementation "com.google.android.gms:play-services-base:${safeExtGet('playServicesVersion', '16.1.0')}"
25+
implementation "com.google.android.gms:play-services-maps:${safeExtGet('playServicesVersion', '16.1.0')}"
2626
implementation 'com.google.maps.android:android-maps-utils:0.5'
2727
}

0 commit comments

Comments
 (0)