forked from Kaaveh/ComposeNews
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
57 lines (56 loc) · 1.63 KB
/
settings.gradle.kts
File metadata and controls
57 lines (56 loc) · 1.63 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
48
49
50
51
52
53
54
55
56
57
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
}
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
rootProject.name = "ComposeNews"
include(":library:designsystem")
include(":library:navigation")
include(":konsist")
include(":core:sync")
include(":core:test")
include(":core:base")
include(":core:uimarket")
include(":core:extensions")
include(":core:network:ktor")
include(":domain:market")
include(":data:market-remote")
include(":data:market-local")
include(":data:market-repository")
include(":feature:marketlist")
include(":feature:marketdetail")
include(":app")
include(":app-watch")
include(":app-watch:app")
include(":app-watch:navigation")
include(":app-watch:ui")
include(":data:sqldelight")
check(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
"""
Compose News project requires JDK 17+ but it is currently using JDK ${JavaVersion.current()}.
Java Home: [${System.getProperty("java.home")}]
https://developer.android.com/build/jdks#jdk-config-in-studio
""".trimIndent()
}