-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
39 lines (37 loc) · 1.04 KB
/
settings.gradle.kts
File metadata and controls
39 lines (37 loc) · 1.04 KB
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
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
maven {
url = uri("https://api.mapbox.com/downloads/v2/releases/maven")
}
mavenCentral()
gradlePluginPortal()
}
// Handle resolution of plugins published without Gradle Plugin Portal manually
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.mapbox.sdkRegistry") {
useModule("com.mapbox.gradle.plugins:sdk-registry:${requested.version}")
}
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
url = uri("https://api.mapbox.com/downloads/v2/releases/maven")
}
}
}
rootProject.name = "mapbox-android-gestures"
include(":app")
include(":library")