Skip to content

Commit

Permalink
Force google play-services-location to 20.0.0 as this is the latest m…
Browse files Browse the repository at this point in the history
…apbox-core-android can support due to mapbox/mapbox-events-android#577
  • Loading branch information
AAverin committed Feb 18, 2024
1 parent b2bfef6 commit d025b21
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 7 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,19 @@ rootProject.allprojects {
password = token
}
}
// Has to be forced as this is the latest mapbox-core-android supports
configurations.all {
resolutionStrategy {
force "com.google.android.gms:play-services-location:20.0.0"
}
}
}
}

apply plugin: 'com.android.library'

android {
compileSdkVersion 31
compileSdkVersion 34
ndkVersion "20.1.5948944"

defaultConfig {
Expand Down
8 changes: 0 additions & 8 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,4 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
constraints {
implementation('com.google.android.gms:play-services-location') {
version {
strictly "16.0.0"
}
because 'location: 4.2.3 does not specify version play-services-location'
}
}
}

0 comments on commit d025b21

Please sign in to comment.