-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
36 lines (33 loc) · 980 Bytes
/
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 {
google()
mavenCentral()
gradlePluginPortal()
}
}
Properties properties = new Properties()
File propertiesFile = new File(rootProject.projectDir, 'local.properties')
if (propertiesFile.exists()) {
InputStream inputStream = propertiesFile.newDataInputStream()
properties.load(inputStream)
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// maven {
// url 'https://maven.pkg.github.com/kuloud/HiveLocation'
// credentials {
// username = properties.getProperty("gpr.user") ?: System.getenv("GPR_USER")
// password = properties.getProperty("gpr.key") ?: System.getenv("GPR_API_KEY")
// }
// }
}
}
rootProject.name = "HiveLocation"
include ':app'
include ':common'
include ':baidu'
include ':amap'
include ':google'