Merge pull request #6136 from vector-im/feature/adm/foss-avoid-gms-location-provider
Excluding the gms play-service-location from maplibre for fdroid builds
This commit is contained in:
commit
ae9922a731
1
changelog.d/6100.misc
Normal file
1
changelog.d/6100.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Excludes transitive optional non FOSS google location dependency from fdroid builds
|
@ -110,6 +110,10 @@ ext.libs = [
|
|||||||
'mavericks' : "com.airbnb.android:mavericks:$mavericks",
|
'mavericks' : "com.airbnb.android:mavericks:$mavericks",
|
||||||
'mavericksTesting' : "com.airbnb.android:mavericks-testing:$mavericks"
|
'mavericksTesting' : "com.airbnb.android:mavericks-testing:$mavericks"
|
||||||
],
|
],
|
||||||
|
maplibre : [
|
||||||
|
'androidSdk' : "org.maplibre.gl:android-sdk:9.5.2",
|
||||||
|
'pluginAnnotation' : "org.maplibre.gl:android-plugin-annotation-v9:1.0.0"
|
||||||
|
],
|
||||||
mockk : [
|
mockk : [
|
||||||
'mockk' : "io.mockk:mockk:$mockk",
|
'mockk' : "io.mockk:mockk:$mockk",
|
||||||
'mockkAndroid' : "io.mockk:mockk-android:$mockk"
|
'mockkAndroid' : "io.mockk:mockk-android:$mockk"
|
||||||
|
@ -507,9 +507,14 @@ dependencies {
|
|||||||
implementation 'commons-codec:commons-codec:1.15'
|
implementation 'commons-codec:commons-codec:1.15'
|
||||||
|
|
||||||
// MapTiler
|
// MapTiler
|
||||||
implementation 'org.maplibre.gl:android-sdk:9.5.2'
|
fdroidImplementation(libs.maplibre.androidSdk) {
|
||||||
implementation 'org.maplibre.gl:android-plugin-annotation-v9:1.0.0'
|
exclude group: 'com.google.android.gms', module: 'play-services-location'
|
||||||
|
}
|
||||||
|
fdroidImplementation(libs.maplibre.pluginAnnotation) {
|
||||||
|
exclude group: 'com.google.android.gms', module: 'play-services-location'
|
||||||
|
}
|
||||||
|
gplayImplementation libs.maplibre.androidSdk
|
||||||
|
gplayImplementation libs.maplibre.pluginAnnotation
|
||||||
|
|
||||||
// TESTS
|
// TESTS
|
||||||
testImplementation libs.tests.junit
|
testImplementation libs.tests.junit
|
||||||
|
Loading…
Reference in New Issue
Block a user