-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
63 lines (58 loc) · 1.63 KB
/
build.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
buildscript {
ext.kotlin_version = '1.6.10'
ext.lifecycle_version = "2.2.0"
repositories {
jcenter()
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:4.3.14'
// kotlin support
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20"
// Add the Crashlytics Gradle plugin
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
}
}
allprojects {
repositories {
maven { url "https://jitpack.io" }
google()
jcenter()
maven {
url = uri("http://repo.apxor.com/artifactory/list/libs-release-android")
allowInsecureProtocol = true
}
flatDir {
dirs 'libs'
}
maven { url 'https://zendesk.jfrog.io/zendesk/repo' }
maven {
url "https://sdk.smartlook.com/android/release"
}
}
}
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex')
&& !details.requested.name.contains('mediarouter')) {
details.useVersion "28.0.0-rc01"
}
}
}
}
ext {
// SDK and tools
compileSdkVersion = 33
minSdkVersion = 21
targetSdkVersion = 31
buildToolsVersion = "30.0.0"
koin_version = "2.1.6"
}
task clean(type: Delete) {
delete rootProject.buildDir
}