-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
37 lines (34 loc) · 949 Bytes
/
settings.gradle.kts
File metadata and controls
37 lines (34 loc) · 949 Bytes
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()
maven {
url =
uri("${System.getenv("ARTIFACTORY_BASE_URL")}/artifactory/mega-gradle/megagradle")
}
}
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"mega.android.library.jacoco.convention",
"mega.artifactory.publish.convention" -> useModule("mega.privacy:megagradle:${requested.version}")
else -> {}
}
}
}
}
rootProject.name = "Core UI"
include(":app")
include(":core-ui")
include(":core-ui-tokens")
dependencyResolutionManagement {
versionCatalogs {
for (file in fileTree("./gradle/catalogs").matching { include("**/*.toml") }) {
val name = file.name.split(".")[0]
create(name) {
from(files(file))
}
}
}
}