-
-
Notifications
You must be signed in to change notification settings - Fork 200
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
47 lines (42 loc) · 1.09 KB
/
settings.gradle.kts
File metadata and controls
47 lines (42 loc) · 1.09 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
46
47
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
val user: String? = providers.gradleProperty("gpr.user").orNull
?: System.getenv("GITHUB_ACTOR")
val pass: String? = providers.gradleProperty("gpr.key").orNull
?: System.getenv("GITHUB_TOKEN")
dependencyResolutionManagement drm@{
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven("https://jitpack.io")
if (user != null && pass != null) {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/MMRLApp/X")
credentials {
username = user
password = pass
}
}
}
}
}
pluginManagement {
includeBuild("build-logic")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
rootProject.name = "MMRL"
include(
":app",
":hidden-api",
":platform",
":ui",
":ext",
":datastore"
)
include(":compat")