Created
June 18, 2023 06:51
-
-
Save oussama-dz/54483f87f26beb4cf065751eb8006023 to your computer and use it in GitHub Desktop.
Mapbox downloads API's declaration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pluginManagement { | |
repositories { | |
google() | |
mavenCentral() | |
gradlePluginPortal() | |
} | |
} | |
dependencyResolutionManagement { | |
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) | |
repositories { | |
google() | |
mavenCentral() | |
maven { | |
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 = MAPBOX_DOWNLOADS_TOKEN | |
} | |
} | |
} | |
} | |
rootProject.name = "RequestLocation" | |
include ':app' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment