From 277d431e489dffbbe03f1fef32b5d3005c79f87f Mon Sep 17 00:00:00 2001 From: Felix Horvat Date: Mon, 17 Jan 2022 19:51:04 +0100 Subject: [PATCH] added jcenter as a fallback to fix build issues --- android/build.gradle | 2 ++ example/android/app/build.gradle | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 1eb430977..328dfdb1b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,6 +4,7 @@ version '1.0-SNAPSHOT' buildscript { repositories { google() + jcenter() mavenCentral() } @@ -19,6 +20,7 @@ rootProject.allprojects { } repositories { google() + jcenter() mavenCentral() maven { url 'https://api.mapbox.com/downloads/v2/releases/maven' diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index cfe29c302..364c91ab1 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -69,4 +69,12 @@ 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' + } + } }