-
Notifications
You must be signed in to change notification settings - Fork 4
/
settings.gradle.kts
54 lines (45 loc) · 1.41 KB
/
settings.gradle.kts
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
47
48
49
50
51
52
53
54
val localPropertiesFile = file("local.properties")
val localProperties = java.util.Properties()
localPropertiesFile.inputStream().use {
localProperties.load(it)
}
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven {
url = uri("https://jcenter.bintray.com")
maven { url = uri("https://jitpack.io") }
}
jcenter()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter()
maven {
url = uri("https://jcenter.bintray.com")
maven { url = uri("https://jitpack.io") }
}
maven {
url = uri("https://api.mapbox.com/downloads/v2/releases/maven")
authentication {
create<BasicAuthentication>("basic")
}
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
// implement a value for the token form local.properties
password = localProperties.getProperty("MAPBOX_DOWNLOADS_TOKEN")
}
}
}
}
rootProject.name = "HikeMap"
include(":app")