-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.gradle
31 lines (29 loc) · 985 Bytes
/
settings.gradle
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
pluginManagement {
resolutionStrategy {
def redirectIndex = [
'dagger.hilt.android.plugin': 'com.google.dagger:hilt-android-gradle-plugin',
'androidx.navigation.safeargs.kotlin': 'androidx.navigation:navigation-safe-args-gradle-plugin',
'com.google.gms.google-services': 'com.google.gms:google-services',
'com.google.firebase.crashlytics': 'com.google.firebase:firebase-crashlytics-gradle',
]
eachPlugin {
if (redirectIndex.containsKey(requested.id.id)) {
useModule("${redirectIndex.get(requested.id.id)}:${requested.version}")
}
}
}
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
include(":app")
rootProject.name = "QReader"