-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsettings.gradle
39 lines (35 loc) · 1.05 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
37
38
39
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
private def loadLocalProperties() {
Properties properties = new Properties()
def localPropertiesFile = file('local.properties')
if (localPropertiesFile.exists()) {
properties.load(file('local.properties').newDataInputStream())
}
return properties
}
def properties = loadLocalProperties()
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven {
name = "Karoo Extensions"
url = uri("https://maven.pkg.github.com/hammerheadnav/karoo-ext")
credentials {
providers.provider {}
username = properties.getProperty("gpr.user", System.getenv("USERNAME"))
password = properties.getProperty("gpr.key", System.getenv("TOKEN"))
}
}
}
}
rootProject.name = "Ki2"
include ':app'