-
Notifications
You must be signed in to change notification settings - Fork 332
/
settings.gradle
42 lines (40 loc) · 1.69 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
pluginManagement {
repositories {
gradlePluginPortal()
maven { url "https://jcenter.bintray.com/" }
maven { url "https://maven.google.com" }
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://maven.fabric.io/public" }
}
resolutionStrategy {
eachPlugin {
switch (requested.id.id) {
case "com.android.application":
useModule("com.android.tools.build:gradle:${requested.version}")
break
case "com.google.gms.google-services":
useModule("com.google.gms:google-services:${requested.version}")
break
case 'com.google.gms.oss.licenses.plugin':
useModule("com.google.gms:oss-licenses:${requested.version}")
break
case 'com.github.ben-manes.versions':
useModule("com.github.ben-manes:gradle-versions-plugin:${requested.version}")
break
case 'com.github.triplet.play':
useModule("com.github.triplet.gradle:play-publisher:${requested.version}")
break
case "org.jlleitschuh.gradle.ktlint":
useModule("gradle.plugin.org.jlleitschuh.gradle:ktlint-gradle:${requested.version}")
break
case 'io.fabric':
useModule("io.fabric.tools:gradle:${requested.version}")
break
case 'deploygate':
useModule("com.deploygate:gradle:${requested.version}")
break
}
}
}
}
include ':app', ':model'