-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle.kts
66 lines (59 loc) · 1.7 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
55
56
57
58
59
60
61
62
63
64
65
66
/*
* Copyright (c) SRG SSR. All rights reserved.
* License information is available from the LICENSE file.
*/
pluginManagement {
includeBuild("build-logic")
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
repositories {
val gitHubUsername = providers.gradleProperty("gpr.user")
.orElse(providers.environmentVariable("USERNAME"))
.get()
val gitHubKey = providers.gradleProperty("gpr.key")
.orElse(providers.environmentVariable("GITHUB_TOKEN"))
.get()
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
maven("https://maven.pkg.github.com/SRGSSR/srgdataprovider-android") {
credentials {
username = gitHubUsername
password = gitHubKey
}
content {
includeGroupByRegex("ch\\.srg.*")
}
}
}
}
rootProject.name = "Pillarbox"
include(
":pillarbox-analytics",
":pillarbox-cast",
":pillarbox-core-business",
":pillarbox-demo",
":pillarbox-demo-cast",
":pillarbox-demo-shared",
":pillarbox-demo-tv",
":pillarbox-player",
":pillarbox-player-testutils",
":pillarbox-ui",
)