Skip to content

Commit

Permalink
Revert "Updated gradle configuration for gradle 3.0.0+ (react-native-…
Browse files Browse the repository at this point in the history
…maps#2096)"

This reverts commit 8cb158e.
  • Loading branch information
Sebastian Dovenor committed Jul 18, 2018
1 parent c53ff0a commit e076b91
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The steps are as described in https://facebook.github.io/react-native/docs/runni
...
dependencies {
...
implementation project(':react-native-maps')
compile project(':react-native-maps')
}
```

Expand Down Expand Up @@ -146,12 +146,12 @@ If you've defined *[project-wide properties](https://developer.android.com/studi
...
dependencies {
...
implementation(project(':react-native-maps')){
compile(project(':react-native-maps')){
exclude group: 'com.google.android.gms', module: 'play-services-base'
exclude group: 'com.google.android.gms', module: 'play-services-maps'
}
implementation 'com.google.android.gms:play-services-base:10.0.1'
implementation 'com.google.android.gms:play-services-maps:10.0.1'
compile 'com.google.android.gms:play-services-base:10.0.1'
compile 'com.google.android.gms:play-services-maps:10.0.1'
}
```

Expand Down
10 changes: 5 additions & 5 deletions lib/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ dependencies {
def googlePlayServicesVersion = rootProject.hasProperty('googlePlayServicesVersion') ? rootProject.googlePlayServicesVersion : DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
def androidMapsUtilsVersion = rootProject.hasProperty('androidMapsUtilsVersion') ? rootProject.androidMapsUtilsVersion : DEFAULT_ANDROID_MAPS_UTILS_VERSION

compileOnly "com.facebook.react:react-native:+"
implementation "com.google.android.gms:play-services-base:$googlePlayServicesVersion"
implementation "com.google.android.gms:play-services-maps:$googlePlayServicesVersion"
implementation "com.google.maps.android:android-maps-utils:$androidMapsUtilsVersion"
}
provided "com.facebook.react:react-native:+"
compile "com.google.android.gms:play-services-base:$googlePlayServicesVersion"
compile "com.google.android.gms:play-services-maps:$googlePlayServicesVersion"
compile "com.google.maps.android:android-maps-utils:$androidMapsUtilsVersion"
}

0 comments on commit e076b91

Please sign in to comment.