-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
45 lines (45 loc) · 1.36 KB
/
settings.gradle.kts
File metadata and controls
45 lines (45 loc) · 1.36 KB
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
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven("https://jitpack.io")
maven("https://api.xposed.info/")
maven("https://raw.githubusercontent.com/fankes/maven-repository/main/repository/releases")
}
}
plugins {
id("com.highcapable.gropify") version "1.0.1"
}
gropify {
global {
common {
permanentKeyValues(
"GITHUB_CI_COMMIT_ID" to "",
"APP_CENTER_SECRET" to ""
)
includeKeys(
"GITHUB_CI_COMMIT_ID",
"APP_CENTER_SECRET",
"^project\\..*\$".toRegex()
)
locations(GropifyLocation.RootProject, GropifyLocation.SystemEnv)
}
android {
existsPropertyFiles(".secret/secret.properties")
includeKeys("GITHUB_CI_COMMIT_ID", "APP_CENTER_SECRET")
// 手动指定类型,防止一些特殊 "COMMIT ID" 被生成为数值
keyValuesRules("GITHUB_CI_COMMIT_ID" to ValueRule(String::class))
}
}
rootProject { common { isEnabled = false } }
}
rootProject.name = "AppErrorsTracking"
include(":module-app", ":demo-app")