-
Notifications
You must be signed in to change notification settings - Fork 322
/
settings.gradle.kts
84 lines (77 loc) · 2.4 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
@file:Suppress("UnstableApiUsage")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
// enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
maven("https://jitpack.io") {
content {
includeGroup("com.github.livefront.sealed-enum")
includeGroup("com.github.MatteoBattilana")
includeGroup("com.github.plattysoft")
}
}
maven("https://api.xposed.info/") {
content {
includeGroup("de.robv.android.xposed")
}
}
mavenCentral()
maven("https://maven.tmpfs.dev/repository/maven-public/") {
// I have no idea why sometimes jitpack.io is not working for
// "com.github.plattysoft:Leonids:1746429"
// So I added this repo as a backup.
// I have encountered this wired issue twice in 2024.
// The jitpack.io says "Not found" or "File not found. Build ok".
content {
includeGroup("com.github.plattysoft")
}
}
}
}
includeBuild("build-logic")
plugins {
id("com.gradle.develocity") version "3.18.2"
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.8.0")
}
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
val isOffline = providers.provider { gradle.startParameter.isOffline }.getOrElse(false)
val ci = System.getenv("GITHUB_ACTIONS") == "true"
publishing {
onlyIf { System.getenv("GITHUB_ACTIONS") == "true" }
// onlyIf { !isOffline && (it.buildResult.failures.isNotEmpty() || ci) }
}
}
}
rootProject.name = "QAuxiliary"
include(
":app",
":loader:startup",
":loader:sbl",
":loader:hookapi",
":libs:stub",
":libs:ksp",
":libs:mmkv",
":libs:dexkit",
":libs:ezXHelper",
":libs:xView",
":libs:libxposed:api",
":libs:libxposed:service",
)