-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle
36 lines (35 loc) · 1.04 KB
/
settings.gradle
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
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
def githubProperties = new Properties()
def propertiesFile = file("github.properties")
if (propertiesFile.exists()) {
propertiesFile.withInputStream {
stream -> githubProperties.load(stream)
}
} else {
githubProperties.put("gh_user", System.getenv("READ_PACKAGES_USER"))
githubProperties.put("gh_token", System.getenv("READ_PACKAGES_TOKEN"))
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
url "https://maven.pkg.github.com/afzalive/android-tv-provider"
credentials {
username = githubProperties.get("gh_user") as String
password = githubProperties.get("gh_token") as String
}
}
}
}
rootProject.name = "Best Tv Launcher"
include ':mobile'
include ':tv'
include ':macrobenchmark'