-
Notifications
You must be signed in to change notification settings - Fork 8
/
settings.gradle.kts
36 lines (33 loc) · 1.27 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
include(":app")
pluginManagement {
repositories {
google()
jcenter()
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.android.application") {
useModule("com.android.tools.build:gradle:${requested.version}")
}
if (requested.id.id == "com.android.library") {
useModule("com.android.tools.build:gradle:${requested.version}")
}
if (requested.id.id == "com.google.firebase.crashlytics") {
useModule("com.google.firebase:firebase-crashlytics-gradle:${requested.version}")
}
if (requested.id.id == "com.google.firebase.appdistribution") {
useModule("com.google.firebase:firebase-appdistribution-gradle:${requested.version}")
}
if (requested.id.id == "com.google.gms.google-services") {
useModule("com.google.gms:google-services:${requested.version}")
}
if (requested.id.id == "com.google.android.gms.oss-licenses-plugin") {
useModule("com.google.android.gms:oss-licenses-plugin:${requested.version}")
}
}
}
}
plugins {
id("de.fayard.refreshVersions") version "0.23.0"
}