-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
50 lines (43 loc) · 1.2 KB
/
settings.gradle.kts
File metadata and controls
50 lines (43 loc) · 1.2 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
import java.net.URI
rootProject.name = "KvColorPicker-Android"
listOf(
":kv-color-picker"
).onEach {
include(it)
}
pluginManagement {
resolutionStrategy {
eachPlugin {
when(requested.id.toString()) {
in listOf(
"com.google.gms.google-services"
) -> useModule("com.google.gms:google-services:${requested.version}")
"org.jetbrains.dokka" -> useModule("org.jetbrains.dokka:dokka-gradle-plugin:${requested.version}")
else -> return@eachPlugin
}
}
}
repositories {
mavenCentral()
google()
}
}
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("./gradle/version-catalog/libs.versions.toml"))
}
}
repositories {
google()
mavenCentral()
maven { url = URI("https://jitpack.io") }
}
}
// This is for local development (Use this as a gradle composite build)
/*includeBuild("../KvColorPalette-Android") {
dependencySubstitution {
substitute(module("com.github.KvColorPalette:KvColorPalette-Android"))
.using(project(":kv-color-palette"))
}
}*/