-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
46 lines (41 loc) · 1.47 KB
/
settings.gradle.kts
File metadata and controls
46 lines (41 loc) · 1.47 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
40
41
42
43
44
45
46
import org.gradle.authentication.http.BasicAuthentication
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
// TEMP: Jan Tennert GitHub Packages if needed
maven { url = uri("https://maven.pkg.github.com/jaumard/supabase-kt") }
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
// Mapbox Maven repository with credentials
maven {
url = uri("https://api.mapbox.com/downloads/v2/releases/maven")
authentication {
create<BasicAuthentication>("basic")
}
credentials {
// These should be the same as in your gradle.properties file
username = "mapbox"
// Use either the environment variable or the gradle property
password = providers.gradleProperty("MAPBOX_DOWNLOADS_TOKEN").orNull
?: System.getenv("MAPBOX_DOWNLOADS_TOKEN")
?: "" // Fallback to empty string if not set (will fail with 401)
}
}
}
}
rootProject.name = "Athlo"
include(":app")