From d4b552488ceae9be9111a8cd34047f69e6171bee Mon Sep 17 00:00:00 2001 From: Roman Laitarenko Date: Fri, 9 Jan 2026 15:54:49 +0200 Subject: [PATCH] add authentication for maven snapshot repo --- android/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index b22d1f74..b59ac392 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -23,6 +23,13 @@ rootProject.allprojects { } maven { url 'https://api.mapbox.com/downloads/v2/snapshots/maven' + authentication { + basic(BasicAuthentication) + } + credentials { + username = "mapbox" + password = System.getenv("SDK_REGISTRY_TOKEN") ?: project.property("SDK_REGISTRY_TOKEN") as String + } } } }