-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
settings.gradle.kts
62 lines (56 loc) · 1.82 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
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
rootProject.name = "Infinity"
include(":android")
include(":data")
include(":domain")
include(":presentation")
include(":core")
include(":i18n")
include(":desktop")
include(":source-api")
pluginManagement {
// this repository is for devs who want to use custom repo instead of official ones
val hostedRepository = System.getenv("CUSTOM_HOST_REPOSITORY")
repositories {
// hostedRepository?.split(";")?.forEach { host ->
// maven(host)
// }
gradlePluginPortal()
mavenCentral()
google()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
dependencyResolutionManagement {
val hostedRepository = System.getenv("CUSTOM_HOST_REPOSITORY")
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
// hostedRepository?.split(";")?.forEach { host ->
// maven(host)
// }
mavenCentral()
google()
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2")
maven("https://oss.sonatype.org/service/local/staging/deploy/maven2")
maven(url = "https://jitpack.io")
maven(url = "https://repo1.maven.org/maven2/")
}
versionCatalogs {
create("composeLib") {
from(files("gradle/compose.versions.toml"))
}
create("kotlinx") {
from(files("gradle/kotlinx.versions.toml"))
}
create("androidx") {
from(files("gradle/androidx.versions.toml"))
}
create("accompanist") {
from(files("gradle/accompanist.versions.toml"))
}
create("test") {
from(files("gradle/testing.versions.toml"))
}
}
}