diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
index 23704740..d151f585 100644
--- a/.idea/jarRepositories.xml
+++ b/.idea/jarRepositories.xml
@@ -26,5 +26,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
index dfe11bfc..b14092b2 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -30,8 +30,8 @@ android {
applicationId "com.geeksville.mesh"
minSdkVersion 21 // The oldest emulator image I have tried is 22 (though 21 probably works)
targetSdkVersion 29
- versionCode 20120 // format is Mmmss (where M is 1+the numeric major number
- versionName "1.1.20"
+ versionCode 20121 // format is Mmmss (where M is 1+the numeric major number
+ versionName "1.1.21"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
@@ -152,7 +152,7 @@ dependencies {
implementation 'com.github.mik3y:usb-serial-for-android:v3.0.0'
// mapbox
- implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:9.2.1'
+ implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:9.5.0'
// mapbox specifies a really old version of okhttp3 which causes lots of API warnings. trying a newer version
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
diff --git a/build.gradle b/build.gradle
index f37671e9..4a2c8ff6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -33,6 +33,20 @@ buildscript {
allprojects {
repositories {
+ maven {
+ // Per https://docs.mapbox.com/android/maps/guides/install/ we now need to signin to download mapbox lib
+ url 'https://api.mapbox.com/downloads/v2/releases/maven'
+ authentication {
+ basic(BasicAuthentication)
+ }
+ credentials {
+ // Do not change the username below.
+ // This should always be `mapbox` (not your username).
+ username = 'mapbox'
+ // Use the secret token you stored in gradle.properties as the password
+ password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: ""
+ }
+ }
google()
jcenter()
maven { url 'https://jitpack.io' }