-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
settings.gradle.kts
43 lines (41 loc) · 1.28 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
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/tribalfs/sesl-androidx")
credentials {
username = extra.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = extra.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
}
maven {
url = uri("https://maven.pkg.github.com/tribalfs/sesl-material-components-android")
credentials {
username = extra.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = extra.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
}
maven(url = "https://jitpack.io")
maven(url = "https://api.xposed.info")
}
}
fun ExtraPropertiesExtension.findProperty(name: String): String? {
return if (has(name)) {
get(name) as String?
} else {
null
}
}
rootProject.name = "KnoxPatch"
include(":app")
include(":stub")