-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsettings.gradle.kts
42 lines (36 loc) · 1.2 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
/*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
enableFeaturePreview("VERSION_CATALOGS")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
dependencyResolutionManagement {
repositories {
mavenCentral()
google()
maven {
url = uri("https://api.mapbox.com/downloads/v2/releases/maven")
authentication {
create("basic", org.gradle.authentication.http.BasicAuthentication::class)
}
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 = System.getenv("MAPBOX_SECRET_TOKEN")
?: extra["mapbox.secretToken"] as? String
}
}
jcenter {
content {
includeGroup("org.jetbrains.kotlinx")
}
}
}
}
includeBuild("maps-build-logic")
include(":maps")
include(":maps-google")
include(":maps-mapbox")
include(":sample:android-app")
include(":sample:mpp-library")