-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
executable file
·48 lines (44 loc) · 1.2 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
rootProject.name = "TMDB Android Client"
includeBuild("build-logic")
include(
":app",
":movie-api",
":movie-impl",
":common-api",
":common-impl",
":common-ui",
":genres-api",
":genres-impl",
":common-test"
)
/**
* All libs' versions has been declared in the project's file (/gradle/libs.versions.toml)
* [Gradle version catalog feature](https://docs.gradle.org/current/userguide/platforms.html)
* @since Gradle 7.4
*/
dependencyResolutionManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
resolutionStrategy {
eachPlugin {
val pluginId = requested.id.id
when {
pluginId.contains("kotlin-dsl") -> useVersion("1.6.10")
pluginId.startsWith("org.jetbrains.kotlin") -> useVersion("1.6.10")
pluginId.startsWith("com.android.") -> useVersion("7.2.1")
pluginId == "io.gitlab.arturbosch.detekt" ->
useModule("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.20.0")
}
}
}
}