-
Notifications
You must be signed in to change notification settings - Fork 4
/
settings.gradle
46 lines (44 loc) · 1.44 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
34
35
36
37
38
39
40
41
42
43
44
45
46
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
def keystorePropertiesFile = file("app/keystore.properties")
def keystoreProperties = new Properties()
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
ivy {
name = "OsmAndBinariesIvy"
url = "https://creator.osmand.net"
patternLayout {
artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
}
}
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
// This should always be `mapbox` (not your username).
username = "mapbox"
if (keystoreProperties['mapboxSecretToken'] != null) {
password = keystoreProperties['mapboxSecretToken']
} else {
throw new GradleException("mapboxSecretToken is required to use the Mapbox SDK")
}
}
}
maven { url 'https://jitpack.io' }
google()
mavenCentral()
}
}
rootProject.name = "Bike navigation display"
include ':app'