-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
51 lines (43 loc) · 1.22 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
import java.util.Properties
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
val localProperties = Properties().apply {
file("local.properties").inputStream().use {
load(it)
}
}
val githubToken: String? = localProperties.getProperty("GITHUB_PERSONAL_ACCESS_TOKEN")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
credentials {
username = "github"
password = githubToken ?: ""
}
url = uri("https://maven.pkg.github.com/arcxp/arcxp-sdk-android-omid/")
}
maven {
credentials {
username = "github"
password = githubToken ?: ""
}
url = uri("https://maven.pkg.github.com/arcxp-mobile/arcxp-mobile-sdk-android")
}
}
}
rootProject.name = "My Application"
include(":app")