-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
43 lines (39 loc) · 1.17 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
43 lines (39 loc) · 1.17 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
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle.kts files
resolutionStrategy {
eachPlugin {
if (requested.id.namespace == "com.android.tools.build") {
useModule("com.android.tools.build:gradle:7.3.1")
}
if (requested.id.namespace == "org.jetbrains.kotlin") {
val kotlin_version = "1.8.10"
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
if (requested.id.namespace == "com.google.firebase") {
useModule("com.google.firebase:firebase-crashlytics-gradle:2.9.2")
}
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
mavenCentral()
maven {
setUrl("https://jitpack.io")
}
flatDir {
dirs("libs")
}
}
}
include(":app")
//include ':dcache-android'
rootProject.name = "DoraCacheSample"