-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathsettings.gradle
33 lines (28 loc) · 1.03 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
if (useMapbox.toBoolean()) {
maven {
url = uri("https://api.mapbox.com/downloads/v2/releases/maven")
// Do not change the username below. It should always be "mapbox" (not your username).
credentials.username = "mapbox"
// Use the secret token stored in local.properties (not tracked by git) as the password
Properties properties = new Properties()
properties.load(file("local.properties").newDataInputStream())
credentials.password = properties.getProperty("MAPBOX_DOWNLOADS_TOKEN")
authentication { basic(BasicAuthentication) }
}
}
}
}
include ':automotive'